Загрузка...

Create a Load Balancer with Nginx for Node Servers using Docker Compose

Learn how to create a load balancer with Nginx for Node servers using Docker Compose. We will go over what a load balancer is, the Nginx upstream directive, docker volumes, and more.

Become a Better Developer
📚 https://courses.wittcode.com

My Software
📡 WittCepter - https://chromewebstore.google.com/detail/wittcepter/almcnacncageamimacljglnjcpjfogbj
🪵 ConsoleLog - https://chromewebstore.google.com/detail/consolelog/bpkeepmeajdffneiimcknfnjodekcgnh

Download Code
👨‍💻 https://blog.wittcode.com

⌛ Timestamps
0:00 - Introduction
0:07 - Project Demonstration
1:48 - What is a Load Balancer?
2:26 - Why use a Load Balancer?
2:52 - Environment Variable Setup
3:28 - Node Project Setup
3:58 - Writing the NodeJS Code
4:45 - Creating a Start Script
4:56 - Creating the Node Docker Image
5:36 - Configure Nginx as a Load Balancer
7:56 - Creating the Nginx Docker Image
8:17 - Handling node_modules with Docker
9:23 - Creating the Node Server Cluster with Docker Compose
10:35 - Creating the Nginx Load Balancer with Docker Compose
11:55 - Running the Program
12:39 - Testing the Program
13:25 - Debugging
13:52 - Testing the Program
14:23 - Outro

Видео Create a Load Balancer with Nginx for Node Servers using Docker Compose канала WittCode
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять