Skip to content

stephanprobst/nginx-loadbalancing-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX-LOADBALANCING with DOCKER

The web container image uses docker multistage build with ASP.NET Core.
So ASP.NET Core setup is not necessary for this sample.

Build the web container image:

docker build web -t web

To deploy containers to swarm:

docker stack deploy -c docker-compose.yml lb

URLs to test the different loadbalancing modes:

http://localhost/roundrobin
http://localhost/leastconn
http://localhost/iphash
http://localhost/weighted

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published