-
Notifications
You must be signed in to change notification settings - Fork 35
/
docker-compose.yml.orc
95 lines (95 loc) · 2.05 KB
/
docker-compose.yml.orc
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
92
93
94
95
version: "2.0"
services:
mysql1:
image: mysql:8.0.30
ports:
- "13306:3306"
volumes:
- ./conf/mysql/mysql1:/etc/mysql/conf.d
networks:
- backend
environment:
- MYSQL_ROOT_PASSWORD=root
mysql2:
image: mysql:8.0.30
ports:
- "13307:3306"
volumes:
- ./conf/mysql/mysql2:/etc/mysql/conf.d
networks:
- backend
depends_on:
- mysql1
environment:
- MYSQL_ROOT_PASSWORD=root
mysql3:
image: mysql:8.0.30
ports:
- "13308:3306"
volumes:
- ./conf/mysql/mysql3:/etc/mysql/conf.d
networks:
- backend
depends_on:
- mysql1
environment:
- MYSQL_ROOT_PASSWORD=root
proxysql:
image: proxysql/proxysql:latest
ports:
- "16033:6033"
- "16032:6032"
volumes:
- ./conf/proxysql/proxysql.cnf:/etc/proxysql.cnf
depends_on:
- mysql1
- mysql2
- mysql3
networks:
- frontend
- backend
orc1:
build: ./conf/orchestrator/
ports:
- "23101:3000"
volumes:
- ./conf/orchestrator/orc1/orchestrator.conf.json:/etc/orchestrator.conf.json
- ./conf/orchestrator/remove-proxysql-host.bash:/root/remove-proxysql-host.bash
depends_on:
- mysql1
- mysql2
- mysql3
- proxysql
networks:
- backend
orc2:
build: ./conf/orchestrator/
ports:
- "23102:3000"
volumes:
- ./conf/orchestrator/orc2/orchestrator.conf.json:/etc/orchestrator.conf.json
- ./conf/orchestrator/remove-proxysql-host.bash:/root/remove-proxysql-host.bash
depends_on:
- mysql1
- mysql2
- mysql3
- proxysql
networks:
- backend
orc3:
build: ./conf/orchestrator/
ports:
- "23103:3000"
volumes:
- ./conf/orchestrator/orc3/orchestrator.conf.json:/etc/orchestrator.conf.json
- ./conf/orchestrator/remove-proxysql-host.bash:/root/remove-proxysql-host.bash
depends_on:
- mysql1
- mysql2
- mysql3
- proxysql
networks:
- backend
networks:
frontend:
backend: