Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.11 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.11 KB

Docker-Scaling demo

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

Getting started

Clone this repository with submodules

$ git clone https://github.com/raittes/docker-scaling.git --recursive

RUN DEMO!

$ make demo

URLs

Or do it yourself!

Build images

$ docker-compose build

Update Consul IP (generates docker-compose.yml)

$ make update-consul-ip

Start

$ docker-compose up

Scale

$ docker-compose scale app=10