This demonstration implements an scalable web-server architecture using Docker containers.
- Tools: docker, docker-compose
- Load balancer: HAProxy and Nginx
- Backend: an simple api
- Service Catalog: Consul
- Template handling: Consul-Template
Based on DR CoN
$ git clone https://github.com/raittes/docker-scaling.git --recursive
$ make demo
- Nginx LB: http://localhost:8088
- HAProxy LB: http://localhost:8080
- HAProxy Stats: http://localhost:8081
- Consul: http://localhost:8500
$ docker-compose build
$ make update-consul-ip
$ docker-compose up
$ docker-compose scale app=10