-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in starting up CouchDB using Docker compose file #253
Comments
IIRC, the username and password are only required for the initial connection/setup, so you could just use: version: "3.8"
services:
couchdb_dev:
image: couchdb
hostname: couchdb_dev
ports:
- "5984:5984"
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password Then log in to the server with |
Thank you for the suggestion! Is having the environment variable |
I'm sure there will be other ways, but that's just the way I've done it so I know it works. I'm really not sure why you feel you need/want to use docker secrets for this, given that the values are only valid credentials until you login and change them, which I would expect you to do immediately. (You could then remove them from the docker-compose file, if you really wanted to.) |
there is no other way atm, but you can put the value for those secrets into your |
I have this docker compose file for starting up a CouchDB instance. This doesn't seem to work though.
The error message from logs,
It suggests that I must have an .ini file with the credentials.
So, I tried another way as shown below.
But I get the same error message. I would greatly appreciate any help. Thank you.
The text was updated successfully, but these errors were encountered: