Learn how to horizontally scale an application consisting of Node servers using Nginx and Docker Compose. We will learn about Docker container replicas, load balancers, and more.
Become a Better Developer
📚 https://courses.wittcode.com
My Software
📡 WittCepter - https://chromewebstore.google.com/det...
🪵 ConsoleLog - https://chromewebstore.google.com/det...
Download Code
👨💻 https://blog.wittcode.com
⌛ Timestamps
0:00 - Spinning Up Node Replicas
0:52 - Dynamic Horizontal Scaling
1:29 - Environment Variables
1:45 - Building the Node App
2:32 - Configuring Nginx
5:32 - Dockerizing Nginx
6:28 - Dockerizing Node
7:03 - Node Service
7:50 - Nginx Service
8:33 - Testing
9:02 - Running the Application
10:57 - Outro