Skip to content

snowind/docker-compose-files

 
 

Repository files navigation

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-elasticsearch

Start mongo (as cluster) and elasticsearch, use a mongo-connector to sync the data from mongo to elasticsearch.

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

About

Some typical docker compose templates.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%