How to Setup Mongo DB and Mongo Express with Docker Compose ( MongoDB + Docker )



How to Setup Mongo DB and Mongo Express with Docker Compose ( MongoDB + Docker )

How to Setup Mongo DB and Mongo Express with Docker Compose ( MongoDB + Docker )

How to Setup Mongo DB and Mongo Express with Docker Compose ( MongoDB + Docker ). Quick tutorial to run both mongo DB and Express with docker containers.

Key note: Make sure the names match with the mongo container and mongo express env vars.

Code: https://github.com/Jasoncheung94/youtube-projects-code/blob/main/docker/mongo-express-docker/docker-compose.yml

Run the following command to start everything:
docker-compose up -d

Main code folder: https://github.com/Jasoncheung94/youtube-projects-code/tree/main/docker

Timeline
0:00 – Create a new project
0:18 – Add the docker-compose.yml file
0:20 – MongoDB Service
0:30 – Mongo Express Service
0:50 – Start all services and view express in browser

🎵 Track Info
––––––––––––––––––––––––––––––
Cali by Wataboi https://soundcloud.com/wataboi
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/wataboi-cali
Music promoted by Audio Library https://youtu.be/qXptaqHIH5g
––––––––––––––––––––––––––––––

Comments are closed.