version: '3' services: gatesofgatotkaca_manager: image: repo.rdvalidasi.com/indonesia/game/coin/gatesofgatotkaca:v0.0.8 container_name: gatesofgatotkaca_manager environment: APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "gatesofgatotkaca" command: ./gatesofgatotkaca -gid 0 -sid "10311001" -lf "log/" -runType 2 -gamePort 0 -httpPort 8080 restart: always ports: - "8046:8046" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/gatesofgatotkaca/logs/mgr:/gatesofgatotkaca/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10"