You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deployed through docker-compose the default configuration makes the web service connect to mongodb://ds159217.mlab.com:59217/nodegoat. The deploy instructions for docker include a step to point the web service at the mongo service, but it's easy to forget that.
Also, as mentioned here, the CI configuration has been changed in branch feature/187 to use docker. The default database setting is used, so all three jobs in the build simultaneously connect to the mLab database and interfere with each other. Currently only one job can succeed at a time, and none will succeed after the mLab database gets shut down (see #212).
I think the MONGODB_URI should be set to mongodb://mongo:27017/nodegoat in the docker-compose.yml. That way the web service will always connect to the correct mongo instance when deployed through docker-compose.
The text was updated successfully, but these errors were encountered:
When deployed through docker-compose the default configuration makes the web service connect to
mongodb://ds159217.mlab.com:59217/nodegoat
. The deploy instructions for docker include a step to point the web service at the mongo service, but it's easy to forget that.Also, as mentioned here, the CI configuration has been changed in branch
feature/187
to use docker. The default database setting is used, so all three jobs in the build simultaneously connect to the mLab database and interfere with each other. Currently only one job can succeed at a time, and none will succeed after the mLab database gets shut down (see #212).I think the MONGODB_URI should be set to
mongodb://mongo:27017/nodegoat
in the docker-compose.yml. That way the web service will always connect to the correct mongo instance when deployed through docker-compose.The text was updated successfully, but these errors were encountered: