Skip to content

raittes/docker-scaling

Repository files navigation

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

About

Docker Scaling Demonstration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published