Files
hk4e-go/hk4e-go-standalone.yaml
T
2024-08-13 17:51:02 +08:00

27 lines
760 B
YAML

version: '3'
services:
standalone_services:
restart: always
image: flswld/standalone:1.0.0
container_name: standalone
ports:
- "8080:8080/tcp"
- "22222:22222/udp"
- "9001:9001/tcp"
environment:
TZ: Asia/Shanghai
GOLANG_PROTOBUF_REGISTRATION_CONFLICT: ignore
volumes:
- /etc/localtime:/etc/localtime
- /etc/timezone:/etc/timezone
- /usr/share/zoneinfo:/usr/share/zoneinfo
- ./standalone/bin/application.toml:/standalone/application.toml
- ./standalone/bin/key:/standalone/key
- ./standalone/bin/static:/standalone/static
- ../gdconf/game_data_config:/gs/game_data_config
deploy:
resources:
limits:
cpus: '8.00'
memory: 8192M