docker-nginx-lb icon indicating copy to clipboard operation
docker-nginx-lb copied to clipboard

Dynamic container load balancing with nginx and consul template

Nginx load balancer

for docker containers, using consul template

this is a fork of docker-loadbalancer

You can find the image at Docker Hub

docker pull princemaple/consul-template-nginx:v3

mount your own nginx.conf into the container if you need more complex configuration

See it working

docker-compose build
docker-compose up -d
# play with it in your browser
# ...when had enough fun
docker-compose scale app=5
# go have some more fun