Skip to content
0:00 / 0:00

#docker#node.js#mongodb

DevOps with Docker and Node.js/Express: Development to production workflow + mongo + redis

Sanjeev Thiyagarajan

29K subscribers • 3 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

33K views5 years ago1 recommendation

Cloud and DevOpsWeb developmentDocker and containersNode.js, Deno and BunNoSQL and document databases

Sanjeev Thiyagarajan teaches Docker fundamentals by building and deploying a Node.js, MongoDB, and Redis application.

Welcome to the godfather of all docker courses!!!! 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 to handle rolling updates. Github: github.com/Sanjeev-Thiyagarajan/node-docker ▬▬▬▬▬▬ T I M E S T A M P S ⏰ ▬▬▬▬▬▬ Intro & demo express app Custom Images with Dockerfile Docker image layers & caching Docker networking opening ports Dockerignore file Syncing source code with bind mounts Anonymous Volumes hack Read-Only Bind Mounts Environment variables loading environment variables from file Deleting stale volumes Docker Compose Development vs Production configs --------------Part 02 Working with multiple containers--------------- Adding a Mongo Container Communicating between containers Express Config file Container bootup order Building a CRUD application Sign up and Login Authentication with sessions & Redis Architecture Review Nginx for Load balancing to multiple node containers Express CORS ---------------Part 03 Moving to Prod-------------------- Installing docker on Ubuntu(Digital Ocean) Setup Git Environment Variables on Ubuntu Deploying app to production server Pushing changes the hard way Rebuilding Containers Dev to Prod workflow review Improved Dockerhub workflow Automating with watchtower Why we need an orchestrator Docker Swarm Pushing changes to Swarm stack If you like this video please subscribe to this channel. Don't let me go hungry! youtube.com/channel/UC2sYgV-NV6S5_-pqLGChoNQ?sub_confirmatio… twitter.com/Sanjeev_Tea instagram.com/sanjeev_tea/ ▬▬▬▬▬▬ Support this garbage Channel 🍒 ▬▬▬▬▬▬ Patreon: patreon.com/sanjeevthiyagarajan ▬▬▬▬▬▬ Stalk me on Social Media 😲 ▬▬▬▬▬▬ twitter.com/Sanjeev_Tea instagram.com/sanjeev_tea/ facebook.com/sanjeevkt720 Background Image: freepik.com/vectors/background Background vector created by brgfx - www.freepik.com

Why it's here

1 person recommends this

What people say. Recommended as a comprehensive five-hour course on Docker and Node.js deployment workflows.

u/sloppy_networksin r/node • Recommends

5 Hr Course DevOps with Docker and Node.js/Express: Development to production workflow + mongo + redis