Osedea/nodock

mongodb container automatically shutting down

tech-engine opened this issue · 0 comments

When, I ran the instruction docker-compose up -d mongo node nginx, nginx and node are working properly but mongodb container is automatically shutting down. I tried disabling the firewall of my digital ocean droplet, when I tried to inspect inside /root/nodock/data/logs/nginx/error.log all I can see on the error logs is as below

2019/01/09 12:25:18 [error] 7#7: *1 connect() failed (113: No route to host) while connecting to upstream, client: my computer's ip, server: , request: "GET / HTTP/1.1", upstream: "http://172.18.0.3:8000/", host: "my digital ocean server's/droplet's ip"
2019/01/09 12:25:21 [error] 7#7: *1 connect() failed (113: No route to host) while connecting to upstream, client: my computer's ip, server: , request: "GET /favicon.ico HTTP/1.1", upstream: "http://172.18.0.3:8000/favicon.ico", host: "my digital ocean server's/droplet ip", referrer: "my digital ocean server's/droplet ip/"