hyleung / docker-multi-app

Multi app example from the Docker book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#Multi-app Docker Demo

This repo contains a mult-container app setup as outlined in chapter 6 of The Docker Book.

The app consists of:

  • one container running a NodeJs web app
  • three containers running a Redis cluster (primary + 2 replicas)
  • one container running LogStash
  • one container running ElasticSearch
  • one container running Kibana

##Building the images

./ build.sh <repository prefix>

...where the "repository prefix" is the bit before the slash. For example ./ build.sh jsmith will tag your Docker images jsmith/nodejs, jsmith/redis, etc.

##Starting the containers

./ start.sh <repository prefix>

##Stopping and removing all containers

./ stop.sh

[Note: this script will stop and remove all containers]

About

Multi app example from the Docker book


Languages

Language:Shell 62.1%Language:JavaScript 37.9%