Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
5 years agounable to get credentials and initialize API ... read /home/opuser/.op/1password-credentials.json:
I am trying to spin up a basic 1password connect server. I have created my Access Token and Credentials file, spun up a fresh server, loaded the 1password-credentials.json file onto the directory ~/1...
floris_1P
1Password Team
5 years agoIn the Docker Compose example config that we've published, we're using the Docker Compose feature to specify files as volumes (i.e. the 1password-credentials.json file). There's a small downside of that approach though, and is that if the file is not present or can't be found for whatever reason, Docker Compose won't fail, but will just continue and interpret the specified file as a directory instead.
So you'll have to make sure the 1password-credentials.json file is in the very same directory where you're running docker-compose up from. (And I don't see anything in your script around the credentials file, but maybe that's in the part you left out?)