Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

Learn Docker - DevOps with Node.js & Express

via freeCodeCamp

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
Hands-on video course on containerizing and deploying a Node.js/Express application with Docker. Covers building custom images with a Dockerfile, image layers and caching, container networking and port publishing, dockerignore, bind mounts and volumes, environment variables from files, and Docker Compose with separate development and production configurations. Extends the setup with a MongoDB container and container-to-container communication, a CRUD app with signup/login and Redis-backed sessions, Nginx load balancing across multiple Node containers, and CORS. The final part walks through installing Docker on an Ubuntu server at DigitalOcean, setting up Git and environment variables, deploying and rebuilding containers, an improved Docker Hub workflow, automating updates with Watchtower, and moving to Docker Swarm. Suited to developers who already know JavaScript and Node/Express basics and want to learn Docker-based DevOps workflows.

Syllabus

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.
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.
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.

Taught by

freeCodeCamp.org

Reviews

Start your review of Learn Docker - DevOps with Node.js & Express

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.