-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
91 lines (82 loc) · 1.76 KB
/
docker-compose.yml
File metadata and controls
91 lines (82 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
version: '3'
services:
redis:
image: redis:4-alpine
ports:
- 6379
mysql:
image: mysql:5.6
ports:
- 3306:3306
environment:
- LANG=C.UTF-8
- MYSQL_DATABASE=dashboard
- MYSQL_ROOT_PASSWORD=huajiao.tv-123
command:
["mysqld", "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
peppercron:
image: huajiao/peppercron
entrypoint:
[
"/bin/sh", "-c",
"/data/peppercron/peppercron -e http://gokeeper_etcd:2379 -n peppercron",
]
environment:
- DOCKER_ENV=true
ports:
- 12306
- 12307
depends_on:
- redis
- mysql
- gokeeper_etcd
php-fpm:
image: huajiao/php-fpm
volumes:
- "./example/php:/data"
pepperbus:
image: huajiao/pepperbus
command:
[
"/bin/sh", "-c",
"/data/pepperbus/pepperbus -n pepperbus:19840 -d pepperbus-test -k gokeeper:7000 -kd gokeeper:7001",
]
ports:
- 12017
- 19840
depends_on:
- gokeeper
dashboard:
image: huajiao/dashboard
build:
context: .
dockerfile: Dockerfile
ports:
- 8360:80
depends_on:
- redis
- mysql
- gokeeper
- peppercron
gokeeper_etcd:
image: quay.io/coreos/etcd:v3.3.18
ports:
- 2379
- 2380
environment:
- ALLOW_NONE_AUTHENTICATION=yes
- ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379
- ETCD_ADVERTISE_CLIENT_URLS=http://0.0.0.0:2379
gokeeper:
image: huajiao/gokeeper
ports:
- 7000
- 7001
- 17000
- 17001
environment:
- DEFAULT_CLUSTER=pepperbus-test
volumes:
- "./deploy/gokeeper/pepperbus-test:/tmp/gokeeper/init/pepperbus-test"
depends_on:
- gokeeper_etcd