Docker Can't connect to Mongodb
Closed this issue · 2 comments
whipped5000 commented
Hi there,
Tried running the docker container, but it couldn't connect to the mongod instance.
Modified config/datastores.js line to read
url: 'mongodb://mongodb/urlTracker'
and it worked a treat
ahussam commented
Hi @whipped5000,
Weird this is the first time someone reports this! However, I will modify the code in the next commit.
Try to replace url with 'mongodb://localhost:27018/urlTracker' this may work too.
mazdafunsunn commented
Had same problem and @whipped5000 solution worked for me as well.
Docker on Debian 9