You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/04/25 12:52:05 UTC

[GitHub] garrensmith opened a new issue #2: Change port

garrensmith opened a new issue #2: Change port
URL: https://github.com/apache/couchdb-docker/issues/2
 
 
   From docker-couchdb: klaemo/docker-couchdb#108  
   
   Hello, we're deploying several couchdb images with docker-compose, so we need them to be running with a different port to the default one, how can this be archived?
   
   Currently I'm trying like this:
   ```yml
   version: '2'
   services:
     couchdb:
       image: klaemo/couchdb:2.0.0
       ports:
         - '3000:5984'
   
     user-crud:
       build: .
       environment:
         PORT: '3000'
         ROOT_URL: 'couchdb'
       ports:
         - '4000:4000'
       links:
         - 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