Some typical docker compose templates.
 
 
 
 
 
 
Go to file
dependabot[bot] c27293f2a4
Bump google.golang.org/grpc in /nginx/nginx_grpc_2/grpc/hello
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.24.0 to 1.53.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.24.0...v1.53.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 20:53:46 +00:00
.github Start reconfiguration demo 2017-11-26 19:50:49 +08:00
consul-discovery Add consul discoverable architecture 2015-08-18 10:47:49 +08:00
discuz_php_apache_mysql Add discuz 2023-04-28 15:22:54 -07:00
elk Add elk case 2018-08-17 10:11:05 -07:00
elk_netflow Add more charts 2015-11-12 09:56:36 +08:00
haproxy_web Update spark 2023-03-02 19:41:39 -08:00
hyperledger_fabric Add v2.5.0 2023-04-14 10:58:11 -07:00
kafka Fix cc pkg path with Go 1.14 2020-12-07 13:33:08 -08:00
lnmp_wordpress Minor update 2023-02-24 14:06:45 -08:00
mongo-elasticsearch Use mongosetup image 2015-08-21 17:03:19 +08:00
mongo_cluster When using the appropriate compose format, hostnames resolve automagically via dockers internal container network dns. 2018-03-26 18:26:21 -07:00
mongo_webui add more files 2015-08-10 16:14:51 +08:00
nginx Bump google.golang.org/grpc in /nginx/nginx_grpc_2/grpc/hello 2023-07-05 20:53:46 +00:00
packetbeat_elk correct name 2022-03-23 14:36:44 -07:00
redis Add redis sample 2022-01-18 16:39:56 -08:00
registry_mirror Use lf instead of crlf 2016-04-15 16:45:21 +08:00
spark_cluster Update spark 2023-03-02 19:41:39 -08:00
zookeeper Use zk images 2020-02-27 14:39:59 -08:00
.gitignore Update kafka mode files 2018-06-22 22:03:28 +08:00
README.md Add discuz 2023-04-28 15:22:54 -07:00

README.md

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.

discuz_php_apache_mysql

Discuz with apache and mysql.

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.

lnmp_wordpress

Deploy nginx, mysql, php + wordpress.

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_elk

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

redis

A redis serer and a redis client (send a PING to the server).

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