raunakkbanerjee opened a new issue, #253:
URL: https://github.com/apache/couchdb-docker/issues/253
```
version: "3.8"
services:
couchdb_dev:
image: couchdb
hostname: couchdb_dev
ports:
- "5984:5984"
environment:
COUCHDB_PASSWORD_FILE: run/secrets/db_password
COUCHDB_USER: admin
secrets:
- db_password
secrets:
db_password:
file: couchdb_password.txt
```
I have this docker compose file for starting up a CouchDB instance. This
doesn't seem work though.
The error message from logs,
```
ERROR: CouchDB 3.0+ will no longer run in "Admin Party"
mode. You *MUST* specify an admin user and
password, either via your own .ini file mapped
into the container at /opt/couchdb/etc/local.ini
or inside /opt/couchdb/etc/local.d, or with
"-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
to set it via "docker run".
```
It suggests that I must have an .ini file with the credentials.
So, I tried another way as shown below.
```
version: "3.8"
services:
couchdb_dev:
image: couchdb
hostname: couchdb_dev
ports:
- "5984:5984"
secrets:
- source: couchdb_dev_ini
target: /opt/couchdb/etc/local.d/local.ini
secrets:
couchdb_dev_ini:
file: ./config/local.ini
```
But I get the same error message. I would greatly appreciate any help. Thank
you.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]