-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
80 lines (73 loc) · 1.79 KB
/
docker-compose.yaml
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
version: "3.9"
services:
cm_db:
container_name: "cm_db"
image: mysql:5.7
volumes:
- /data/chainmaker/mgmt:/var/lib/mysql
restart: always
env_file:
- management_configs/.env
command:
[
"mysqld",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--max_allowed_packet=200M",
]
cm_mgmt_server:
container_name: "cm_mgmt_server"
depends_on:
- cm_db
build:
context: management-backend
dockerfile: Dockerfile
image: management-backend:v2.3.0
volumes:
- /src/chainmaker/management_configs:/chainmaker-management/configs
ports:
- "9999:9999"
restart: always
cm_mgmt_web:
container_name: "cm_mgmt_web"
depends_on:
- cm_mgmt_server
image: chainmakerofficial/management-web:v2.3.0
ports:
- "9995:80"
restart: always
cm_explorer_db:
container_name: "cm_explorer_db"
image: mysql:5.7
volumes:
- /data/chainmaker/explorer:/var/lib/mysql
restart: always
env_file:
- explorer_configs/.env
command:
[
"mysqld",
"--character-set-server=utf8mb4",
"--collation-server=utf8mb4_unicode_ci",
"--max_allowed_packet=200M",
]
cm_explorer_server:
container_name: "cm_explorer_server"
image: chainmakerofficial/explorer-backend:v2.3.0
volumes:
- /src/chainmaker/explorer_configs:/chainmaker-explorer-backend/configs
depends_on:
- cm_explorer_db
ports:
- "9997:9997"
environment:
show_config: true
restart: always
cm_explorer_web:
container_name: "cm_explorer_web"
depends_on:
- cm_explorer_server
image: chainmakerofficial/explorer-web:v2.3.0
ports:
- "9996:8080"
restart: always