Learn Docker - DevOps with Node.js & Express

preview_player
Показать описание
Learn 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.

⭐️ Course Contents ⭐️
0:00:14 Intro & demo express app
0:04:18 Custom Images with Dockerfile
0:10:34 Docker image layers & caching
0:20:26 Docker networking opening ports
0:26:36 Dockerignore file
0:31:46 Syncing source code with bind mounts
0:45:30 Anonymous Volumes hack
0:51:58 Read-Only Bind Mounts
0:54:58 Environment variables
0:59:16 loading environment variables from file
1:01:31 Deleting stale volumes
1:04:01 Docker Compose
1:21:36 Development vs Production configs

Part 02: Working with multiple containers
1:44:47 Adding a Mongo Container
2:01:48 Communicating between containers
2:12:00 Express Config file
2:21:45 Container bootup order
2:32:26 Building a CRUD application
2:51:27 Sign up and Login
3:06:57 Authentication with sessions & Redis
3:34:36 Architecture Review
3:40:48 Nginx for Load balancing to multiple node containers
3:54:33 Express CORS

Part 03: Moving to Prod
3:57:44 Installing docker on Ubuntu(Digital Ocean)
4:03:21 Setup Git
4:05:37 Environment Variables on Ubuntu
4:14:12 Deploying app to production server
4:18:57 Pushing changes the hard way
4:25:58 Rebuilding Containers
4:27:32 Dev to Prod workflow review
4:30:50 Improved Dockerhub workflow
4:46:10 Automating with watchtower
4:56:06 Why we need an orchestrator
5:03:32 Docker Swarm
5:16:13 Pushing changes to Swarm stack

--

Рекомендации по теме
Комментарии
Автор

This ain't any tutorial. This is a professional course. Thank you so much Sanjeev!

rahulsriram
Автор

This literally is a cheatsheet for anyone who aspires to be a DevOps engineer.
Excellent content. Thanks for all the hard work that has been put into making this wholesome course.

manikandansivasankar
Автор

Explaining Docker with such ease sure doesn't seem like an easy task, but this guy sure nailed it! Fantastic job really, amazing to have this for free! Cheers!

FilipeFreire
Автор

Absolutely brilliant! Perfect pace, excellent explanations and his way of letting something fail to investigate why and how to remedy the issue. Most of the docker tutorials I have found seem to assume that you already know a lot about docker or its underlying concepts but this guy really does take you through in such a logical way. I'll definitely be checking out his other videos once I am through this!!

therealmattplayer
Автор

If you get "bash: mongo: command not found" at 1:49:00, then Use mongosh. mongo shell was deprecated in mongo:6.0.

dpSimi
Автор

I was searching for good docker tutorial to use in my project. Thanks free code camp. You guys never disappoint!

iadorepop
Автор

Hello Sanjeev I jave just completed this course and I have nothing but respect for you. Doing so much hard work and providing it for free is not an easy thing to do.

It really helped me understand how to deal with docker. Now I am comfortable adopting docker workflow in my projects. Once again thank you so much for creating this series.

kartikgarasia
Автор

Just now finished this over five hour course. It is very informative and easy to follow along. Thank you very much to Sanjeev. And thank you to Quincy for bringing this to us.

aroneinhorn
Автор

I can thank you enough for this. From a complete newbie in DevOps, in 2 days I was able to dockerize and put into production my Express and Postgres api + Nginx. Thank you.

tonimaunde
Автор

One of the most comprehensive docker tutorials on the internet.

Djzaamir
Автор

One of the best docker and node tutorials I've taken.
The explanation is clear, the code is pretty, the author is funny.

yuqin
Автор

Sanjeev Thiyagarajan, you have the ability to become a real teacher. You can solve the curiosity. Thanks. Keep up the great work

GauravYadav-rvwx
Автор

Sanjeev is an O.G. instructor! No doubt about it! I completed your FastAPI course, now the docker course. My respect for you has grown infinite times now.

chaoticqubit
Автор

The *BEST* tutorial about Docker I've seen on YouTube. I can't believe it's free. Thank you Sanjeev.

emirhansoylu
Автор

This is like 20+ tutorials rolled into one cohesive project. Thanks and props to Sanjeev

wforbes
Автор

I have just completed a Docker tutorial and I was looking for a hands on experience, so I am really happy to find your video. Thank you so much sir! Awesome job!

cagataysert
Автор

Just for information: The command mongo to log into the database is deprecated. As of now it is mongosh -u "username" -p "password"

chrispohlmann
Автор

It took me a lot of time to begin to understand Docker and I’m glad I’ve found this video, it makes thing super fun if you already learned how to deploy an app to a server

DaviAreias
Автор

Thank you for this descriptive course! That's what I've been looking for a while!
God bless you, mate!

Shpatak
Автор

Best video ever I've watched, all real life development issues with clear explanation are mentioned and implemented with solutions...

VipulGoel