version: '3' services: lhbattlesingle_manager: image: repo.rdvalidasi.com/pve/indonesia/nlud:v0.0.1 container_name: lhbattlesingle_mgr environment: GAMEID: "2015" RUNTYPE: "2" GROUPID: "0" SERVERID: "20151001" CONFIGPATH: "conf/" LOGPATH: "log/" GAMEPORT: "0" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "lhbattlesingle" restart: always ports: - "8054:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/lhbattlesingle/logs/mgr:/lhbattlesingle/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10"