version: '3' services: gatesofgatotkaca_a_1: image: repo.rdvalidasi.com/indonesia/game/coin/gatesofgatotkaca:v0.1.5 container_name: gatesofgatotkaca_a_1 environment: APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "gatesofgatotkaca" command: ./gatesofgatotkaca -gid 1 -sid "10311101" -lf "log/" -runType 1 -gamePort 8000 -httpPort 8080 restart: always ports: - "18061:8000" - "18161:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/gatesofgatotkaca/logs/normal_a:/gatesofgatotkaca/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" gatesofgatotkaca_a_2: image: repo.rdvalidasi.com/indonesia/game/coin/gatesofgatotkaca:v0.1.5 container_name: gatesofgatotkaca_a_2 environment: APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "gatesofgatotkaca" command: ./gatesofgatotkaca -gid 2 -sid "10311201" -lf "log/" -runType 1 -gamePort 8000 -httpPort 8080 restart: always ports: - "18062:8000" - "18162:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/gatesofgatotkaca/logs/normal_a:/gatesofgatotkaca/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" gatesofgatotkaca_a_3: image: repo.rdvalidasi.com/indonesia/game/coin/gatesofgatotkaca:v0.1.5 container_name: gatesofgatotkaca_a_3 environment: APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "gatesofgatotkaca" command: ./gatesofgatotkaca -gid 3 -sid "10311301" -lf "log/" -runType 1 -gamePort 8000 -httpPort 8080 restart: always ports: - "18063:8000" - "18163:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/gatesofgatotkaca/logs/normal_a:/gatesofgatotkaca/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" gatesofgatotkaca_a_4: image: repo.rdvalidasi.com/indonesia/game/coin/gatesofgatotkaca:v0.1.5 container_name: gatesofgatotkaca_a_4 environment: APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "gatesofgatotkaca" command: ./gatesofgatotkaca -gid 4 -sid "10311401" -lf "log/" -runType 1 -gamePort 8000 -httpPort 8080 restart: always ports: - "18064:8000" - "18164:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/gatesofgatotkaca/logs/normal_a:/gatesofgatotkaca/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10"