Some typical docker compose templates.
 
 
 
 
 
 
Go to file
Baohua Yang ab9d3a8a25 Add how to install docker 2015-08-18 11:49:57 +08:00
consul-discovery Add consul discoverable architecture 2015-08-18 10:47:49 +08:00
elk_netflow User image netflow conf by default 2015-08-13 10:24:34 +08:00
mongo_cluster Add mongo cluster and mongo webui 2015-07-30 14:54:22 +08:00
mongo_webui add more files 2015-08-10 16:14:51 +08:00
nginx_auth Use new nginx auth image 2015-08-12 14:14:39 +08:00
registry_mirror add more files 2015-08-10 16:14:51 +08:00
.gitignore Initial commit 2015-07-30 14:42:57 +08:00
README.md Add how to install docker 2015-08-18 11:49:57 +08:00

README.md

Docker Compose Files

Some typical docker compose templates.

Install Docker and Docker Compose

Take ubuntu for example

$ curl -sSL https://get.docker.com/ | sh
$ sudo pip install docker-compose

Docker-compose Usage

See https://docs.docker.com/compose/.

templates

consul-discovery

Using consul to make a service-discoverable architecture.

mongo_cluster

Start 3 mongo instance to make a replica set.

mongo_webui

Start 1 mongo instance and a mongo-express web tool to watch it.

The mongo instance will store data into local /opt/data/mongo_home.

The web UI will listen on local 8081 port.

nginx_auth

Use nginx as a proxy with authentication for backend application.

registry_mirror

docker registry mirror, with redis as the backend cache.

elk

Elk cluster, with netflow support

docker-compose scale es=3