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

Mongo connection failed : IP and port missing #9

Open
Flow76320 opened this issue Feb 9, 2016 · 3 comments
Open

Mongo connection failed : IP and port missing #9

Flow76320 opened this issue Feb 9, 2016 · 3 comments

Comments

@Flow76320
Copy link

Hi,

There is a typo in run-seyren.sh :
export MONGO_URL=mongodb://$MONGODB_PORT_27017_TCP_ADDR:$MONGODB_PORT_27017_TCP_PORT/seyren

should be
export MONGO_URL=mongodb://$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/seyren

in order for Seyren to start with Docker.
Note that $MONGODB_PORT_27017_TCP_ADDR should be /$MONGO_PORT_27017_TCP_ADDR and $MONGODB_PORT_27017_TCP_PORT should be $MONGO_PORT_27017_TCP_PORT

@usmanismail
Copy link
Owner

This depends on what you link your container as. If you linked as mongo then the script will need to be changed. However if you link as mongodb then the current script works.

docker run -d -p 8080:8080 --name seyren --link mongodb:mongodb -it usman/docker-seyren http://[GRAPHITE_URL]

@Flow76320
Copy link
Author

You're right, I linked it to mongo:mongo with the official Mongo
https://hub.docker.com/_/mongo/.

Maybe it could help someone else

Cordialement

Florian GANEE

2016-02-09 16:08 GMT+01:00 Usman Ismail [email protected]:

This depends on what you link your container as. If you linked as mongo
then the script will need to be changed. However if you link as mongodb
then the current script works.

docker run -d -p 8080:8080 --name seyren --link mongodb:mongodb -it
usman/docker-seyren http://[GRAPHITE_URL]


Reply to this email directly or view it on GitHub
#9 (comment)
.

@usmanismail
Copy link
Owner

You mind doing a PR, I am not using this container any more so hard for me to test. Please update the readme and the script.

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

2 participants