Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: failed to connect to [mongo:27017] #1580

Closed
knvpk opened this issue Dec 5, 2015 · 1 comment
Closed

Error: failed to connect to [mongo:27017] #1580

knvpk opened this issue Dec 5, 2015 · 1 comment

Comments

@knvpk
Copy link

knvpk commented Dec 5, 2015

Hi, im getting this error while running with docker, here is my docker-compose file and im using develop branch code.

mongo:
   image: mongo

   volumes:
     - ./data/runtime/db:/data/db
     - ./data/dump:/dump
   command: mongod --smallfiles

rocketchat:
  image: rocketchat/rocket.chat:develop
  volumes:
   - ./uploads:/app/uploads
 environment:
  - ROOT=3000
  - ROOT_URL=http://rocket.invizoserver.com
  - MONGO_URL=mongodb://mongo:27017/rocketchat
  - mongo:mongo
ports:
  - 3000:3000
restart: always

extra_hosts:
- "git.invizoserver.com:192.168.0.222"

is there any wrong in docker compose if not please help to work with this.

@knvpk
Copy link
Author

knvpk commented Dec 5, 2015

Sorry, im missing links param.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant