简化配置表读取

This commit is contained in:
flswld
2023-03-16 16:26:14 +08:00
parent 2a3ce25898
commit 5e5492943d
51 changed files with 418 additions and 2560 deletions

View File

@@ -67,10 +67,10 @@ services:
limits:
cpus: '4.00'
memory: 1024M
fight_services:
anticheat_services:
restart: always
image: flswld/fight:1.0.0
container_name: fight
image: flswld/anticheat:1.0.0
container_name: anticheat
ports:
- "5678:5678/tcp"
environment:
@@ -80,7 +80,7 @@ services:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /usr/share/zoneinfo:/usr/share/zoneinfo
- ./fight/bin/application.toml:/fight/application.toml
- ./anticheat/bin/application.toml:/anticheat/application.toml
depends_on:
- gate_services
deploy:
@@ -103,7 +103,7 @@ services:
- /usr/share/zoneinfo:/usr/share/zoneinfo
- ./pathfinding/bin/application.toml:/pathfinding/application.toml
depends_on:
- fight_services
- anticheat_services
deploy:
resources:
limits: