This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Docker/mongo issue #822
Comments
OK, I think I fixed my issue. Will try and explain in case someone else runs into it and searches here. Found this when the mongo container was starting Fixed for now by changing the following in docker-compose.yml: from |
I am getting the same issue since I pulled last images and commits. I will have a try |
I've got the same issue and solved it with |
I think we should lock mongodb version in docker-compose. what do you think guys? |
the parameter --bind_ip_all was introduced in c4bb751 , should we close this? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Pulling my hair out on this one. Searched the issues here and on discord but still couldnt get to the bottom of it.
I'm trying to use docker compose to run zenbot and can't seem to get past an issue connecting to mongo.
I'm pretty sure I've followed the readme to the letter (of course always a high chance I have missed something obvious!).
The error I get when running
docker compose up
isError: must pass a node-mongodb-native db with backend_options.db
andwarning: mongodb not accessible. some features (such as backfilling/simulation) may be disabled.
(there is a bunch more but these lines seem the most relevant).docker ps
shows both the zenbot and mongodb containers running (well the zenbot one is continually restarting).When I attach to the mongodb container I can see the mongodb process running in
top
andmongostat
runs, but obviously shows no queries, etc...Everything is vanilla, no edits to
docker-compose.yml
andconf.js
is simply a copy ofconf-sample.js
.Some additional troubleshooting I carried out was running a mongo-express container and linking it to the mongodb container. It also could not connect. Running and linking both manually using
docker run
however did work.Any help much appreciated of course, and if any more info would be help, please ask.
Thanks!
Edit: should also add, running Ubuntu 16.04 LTS
The text was updated successfully, but these errors were encountered: