You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/08/25 08:47:18 UTC

[GitHub] [couchdb-docker] sepbot commented on issue #73: Configuration from docker config or secret?

sepbot commented on issue #73:
URL: https://github.com/apache/couchdb-docker/issues/73#issuecomment-679892867


   Not sure if things have changed since the last post, but I could not get it to work when mounting a Docker Swarm config to `/opt/couchdb/etc/local.d/couch.ini`. The container exits immediately with status of 1 and no logs produced. Using 3.1.0.
   
   This workaround resolved it for me:
   ``` yaml
   command: '/bin/bash -c "cp -f /couch-v1 /opt/couchdb/etc/local.d/couch.ini && /opt/couchdb/bin/couchdb"'
   configs:
     - couch-v1
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org