If you are using Docker and your application consists of multiple services, you need to be using docker-compose!
In this video, I walk through a full example of how to configure docker-compose for a MERN (Mongo, Express, React, and Node.js) application explaining each configuration option along the way.
The application shown is based on this post: / how-to-create-your-first-mern-mongodb-expr...
Full code can be found here:
https://github.com/sidpalas/devops-di...
Cheers!
---
Join the Community:
💬 Discord: / discord
💻 GitHub: https://github.com/sidpalas/devops-di...
🐥 Twitter: / sidpalas
👨💼 LinkedIn: / sid-palas
🌐 Website: https://devopsdirective.com
---
Timestamps:
0:00 - Intro
0:40 - Why do we need Docker Compose?
1:42 - MERN sample app
2:17 - Building react-app and api-server Docker images
2:33 - docker-compose.yml walkthrough
3:38 - Network discoverability
4:09 - Non-default network
4:34 - Data volume
4:50 - App demo
---
Community Size at Time of Posting:
Subscribers: 442
Channel Views: 6896
Note: I have a running joke with my wife that I'm not going to shave my beard until I reach 1000 subscribers (the last time I did was at 100...) and it is starting to get out of control 🧔+🎅+😳+😬
On this page of the site you can watch the video online Docker Compose in 6 minutes! Mongo, Express, React, Node (MERN) Application Tutorial with a duration of hours minute second in good quality, which was uploaded by the user DevOps Directive 01 January 1970, share the link with friends and acquaintances, this video has already been watched 91,266 times on youtube and it was liked by 2.9 thousand viewers. Enjoy your viewing!