DREZZ3R commented on issue #107: Can't use with 
jrcs/letsencrypt-nginx-proxy-companion 
URL: https://github.com/apache/couchdb-docker/issues/107#issuecomment-422040893
 
 
   Ok I've got with a solution. When initializing couch, we need to specify the 
`VIRTUAL_PORT`.
   ```
   docker run -e COUCHDB_USER=truenet_couch \
   -e 
COUCHDB_PASSWORD=QBm0WZ5iwr5NwmVStmIqMIcMrDXdfY33nlWAiNbgNyj871zYkDTZIQOcuMYXldhOV2Am6hSLD359xjTsLjClTkkwFwNObw7vNkAY
 \
   -e "VIRTUAL_HOST=app.truenet.pt" \
   -e VIRTUAL_PORT=5984 \
   -e "LETSENCRYPT_HOST=app.truenet.pt" \
   -e "[email protected]" \
   --volume ~/data:/opt/couchdb/data --volume 
~/etc/local.d:/opt/couchdb/etc/local.d \
   --name api-couchdb --restart always -d couchdb
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to