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 2018/09/17 14:32:13 UTC

[GitHub] DREZZ3R commented on issue #107: Can't use with jrcs/letsencrypt-nginx-proxy-companion

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 "LETSENCRYPT_EMAIL=jorge.cruz@truenet.pt" \
   --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:
users@infra.apache.org


With regards,
Apache Git Services