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
Main purpose of this project is to build an image of node with the help of Dockerfile.
docker-compose file helps to make the mongo db and node align in one network.
So once we docker-compose up, then no need to worry about the db connections or any other stuff.
The imp point abt this project is that, the mongo url matters a lot. If we are making a connection from docker, then kindly use mongo instead of localhost.
Also for mongo container, mentioning of port is mandate.