princemaple / docker-nginx-lb

Dynamic container load balancing with nginx and consul template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Dynamic container load balancing with nginx and consul template


Languages

Language:Nginx 60.5%Language:Shell 39.5%