Skip to content

kristenjacobs/load-balancer-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Load Balancer Demo

Demo using nginx as a reverse proxy load balancing accross 2 web services. Each of the services, and nginx itself, run inside docker containers, and are controlled using docker-compose.

To start:

sudo docker-compose up -d

To stop:

sudo docker-compose stop

To remove:

sudo docker-compose rm 

By accessing localhost:8000 in a browser, and hitting refresh a few times, you'll see the load balancer switching between server1 and server2.

About

Nginx, Docker + Docker-Compose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published