mirror of
https://github.com/dotnetcore/AgileConfig.git
synced 2026-10-17 04:31:12 +08:00
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
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:
|