forked from artefactual-labs/enduro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (54 loc) · 1.65 KB
/
docker-compose.yml
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
version: "3"
services:
mysql:
image: "mysql:5.7"
command: "--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci"
environment:
MYSQL_ROOT_PASSWORD: "root123"
MYSQL_USER: "enduro"
MYSQL_PASSWORD: "enduro123"
volumes:
- "./hack/docker-init-mysql.sql:/docker-entrypoint-initdb.d/docker-init.sql"
ports:
- "127.0.0.1:7450:3306"
cadence:
image: "ubercadence/server:0.9.5"
command: ["cadence-server", "--root=/etc/cadence", "--env=docker", "start", "--services=frontend,matching,history,worker"]
restart: "on-failure"
ports:
# frontend service
- "127.0.0.1:7400:7400" # rpc
- "127.0.0.1:7401:7401" # prom
- "127.0.0.1:7402:7402" # pprof
# matching service
- "127.0.0.1:7410:7410" # rpc
- "127.0.0.1:7411:7411" # prom
- "127.0.0.1:7412:7412" # pprof
# history service
- "127.0.0.1:7420:7420" # rpc
- "127.0.0.1:7421:7421" # prom
- "127.0.0.1:7422:7422" # pprof
# worker service
- "127.0.0.1:7430:7430" # rpc
- "127.0.0.1:7431:7431" # prom
- "127.0.0.1:7432:7432" # pprof
volumes:
- "./hack/cadence/seed.sh:/seed.sh:ro"
- "./hack/cadence/config.yml:/etc/cadence/config/docker.yaml:ro"
cadence-web:
image: "ubercadence/web:3.13.0"
environment:
- "CADENCE_TCHANNEL_PEERS=cadence:7400"
ports:
- "0.0.0.0:7440:8088"
minio:
image: "minio/minio:RELEASE.2020-04-28T23-56-56Z"
command: "server /data"
volumes:
- "./hack/minio-data:/data"
ports:
- "127.0.0.1:7460:9000"
redis:
image: "redis:5-alpine"
ports:
- "127.0.0.1:7470:6379"