Skip to content
프로젝트

yeasy/docker-compose-files

GitHub에서 보기

소개

일반적인 Docker Compose 템플릿 모음입니다.

시스템 및 인프라

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
-2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

Install Docker Desktop or the Docker Compose CLI plugin and verify the installation with docker compose version.

Docker-compose Usage

See Docker Compose Documentation.

Examples files

consul-discovery

Using consul to make a service-discoverable architecture.

codex_docker

Run Codex CLI inside Docker while keeping the in-container sandbox at workspace-write.

This is a developer tool example rather than an application stack.

To use it as your default codex command:

mkdir -p ~/bin
ln -sf /absolute/path/to/docker-compose-files/codex_docker/bin/codex ~/bin/codex
codex

By default it mounts the current workspace, persists host ~/.codex, mounts host ~/.gitconfig read-only when available, and does not mount host ~/.ssh unless you opt in.

discuz_php_apache_mysql

Discuz with apache and mysql.

elk

ELK example.

elk_netflow

Elk cluster, with netflow support.

docker compose up -d --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 releases from v0.6.0 up to v3.1.4, including Fabric 3 CCAAS examples.

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 up -d --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

관련 프로젝트 살펴보기

불러오는 중…