-
-
Notifications
You must be signed in to change notification settings - Fork 301
/
docker-compose.yml
54 lines (54 loc) · 1.34 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
version: '3'
services:
agile_config_admin:
image: "kklldog/agile_config:latest"
ports:
- "15000:5000"
networks:
- net0
security_opt:
- seccomp=unconfined
volumes:
- /etc/localtime:/etc/localtime
environment:
- TZ=Asia/Shanghai
- adminConsole=true
- cluster=true
- db:provider=mysql
- db:conn= database=configcenter;data source=192.168.0.125;User Id=root;password=1;port=13306
agile_config_node1:
image: "kklldog/agile_config:latest"
ports:
- "15001:5000"
networks:
- net0
security_opt:
- seccomp=unconfined
volumes:
- /etc/localtime:/etc/localtime
environment:
- TZ=Asia/Shanghai
- cluster=true
- db:provider=mysql
- db:conn= database=configcenter;data source=192.168.0.125;User Id=root;password=1;port=13306
depends_on:
- agile_config_admin
agile_config_node2:
image: "kklldog/agile_config:latest"
ports:
- "15002:5000"
networks:
- net0
security_opt:
- seccomp=unconfined
volumes:
- /etc/localtime:/etc/localtime
environment:
- TZ=Asia/Shanghai
- cluster=true
- db:provider=mysql
- db:conn= database=configcenter;data source=192.168.0.125;User Id=root;password=1;port=13306
depends_on:
- agile_config_admin
networks:
net0: