GithubHelp home page GithubHelp logo

00mjk / docker-compose-files Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yeasy/docker-compose-files

0.0 0.0 0.0 200.88 MB

Some typical docker compose templates.

Shell 25.98% Python 2.01% Makefile 3.50% Go 61.42% C++ 6.71% Dockerfile 0.39%

docker-compose-files's Introduction

Docker Compose Files

Some typical docker compose examples.

If you're not familiar with Docker, can have a look at these books (in CN):

Install Docker&Docker Compose

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

Docker-compose Usage

See Docker Compose Documentation.

Examples files

consul-discovery

Using consul to make a service-discoverable architecture.

elk

ELK example.

elk_netflow

Elk cluster, with netflow support.

docker-compose scale es=3

haproxy_web

A simple haproxy and web applications cluster.

hyperledger_fabric

Quickly bootup a hyperledger fabric cluster with several validator nodes, without vagrant or any manual configuration.

Now we support from v0.6 to v1.0.x.

See hyperledger_fabric for more details.

kafka

Start a simple kafka service for testing.

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.

packetbeat_ek

Demo the packetbeat, elasticsearch and kibana.

Some kibana dashboard config files are included.

To import them, after all containers startup, go inside the kibana container, and run

$ cd /kibana/beats-dashboards-1.0.1 && ./load.sh http://elasticsearch:9200

registry_mirror

docker registry mirror, with redis as the backend cache.

spark_cluster

Spark cluster with master and worker nodes.

docker-compose scale worker=2

Try submitting a test pi application using the spark-submit command.

/urs/local/spark/bin/spark-submit --master spark://master:7077 --class org.apache.spark.examples.SparkPi /usr/local/spark/lib/spark-examples-1.4.0-hadoop2.6.0.jar 1000

docker-compose-files's People

Contributors

akm4 avatar andyalpha avatar gymgle avatar hiberabyss avatar icodezjb avatar lafenicecc avatar qiang0723 avatar shuowangnsl avatar swbsin avatar thijsdenbraver avatar wezxll avatar yeasy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.