Docker Compose Dev to Prod multiple files: DevOps with Docker and Node.js + Mongodb/Redis Part #11

preview_player
Показать описание
In this video we will take a look at how we can handle having seperate docker configs for development environment and production environment. We will utilize multiple docker compose files.

▬▬▬▬▬▬ Full Playlist 🌴 ▬▬▬▬▬▬

In this course we are going to master the core fundamentals of docker by building a Node/Express app with a Mongo & Redis database.

We'll start off by keeping things simple with a single container, and gradually add more complexity to our app by integrating a Mongo container, and then finally adding in a redis database for authentication.

We'll learn how to do things manually with the cli, then move on to docker compose. We'll focus on the challenges of moving from a development environment to a production environment.

We'll deploy and Ubuntu VM as our production server, and utilize a container orchestrator like docker swarm

▬▬▬▬▬▬ Subscribe to my Channel 🍆 ▬▬▬▬▬▬

▬▬▬▬▬▬ Support this garbage Channel 🍒 ▬▬▬▬▬▬

▬▬▬▬▬▬ Stalk me on Social Media 😲 ▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

Nice video, Dude. Btw, is that possible one Dockerfile with one docker-compose.yml for multiple env? Let's say we do if-else statement condition in .yml? Sounds stupid question but I'm curious enough. Thank you~

dimasyudhamusic
Автор

I followed the video, but I still get code 127: nodemon not found. Has anyone else encountered a similar error?

centworon