Closed greggman closed 7 years ago
Apparently the issue is docker now needs the container name for the mongo url
was:
environment:
- MONGO_URL=mongodb://localhost:27017/meteor
now:
environment:
- MONGO_URL=mongodb://mongo:27017/meteor
where mongo
is the name of the service
- MONGO_URL=mongodb://<name-of-service>:27017/meteor
I'm getting an ECONNREFUSED error in my meteor app so I tried going back to a built in example
This works, so far so good. Okay, make a docker-compose.yml that uses this repo and a 3.2 version of mongodb (matches what
meteor mongo
claims is the version used by 1.6).Now build the app and run it in docker
Check that mongo is runnning
Yes, check that meteor is running
And I get the ECONNREFUSED error
I'm only guessing this is a docker configuration issue. I was running docker-machine in the past but recently upgrading to docker mac and have been working through things that needed to change in my setup. That led to trying something more "official"
Any idea how to fix this issue?
Some other things I tried,