version: '3' services: fivedragon_a_1: image: repo.rdvalidasi.com/indonesia/game/coin/fivedragon:v0.0.5 container_name: fivedragon_a_1 environment: GROUPID: "1" SERVERID: "10341101" STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" PROCONF: "conf/pro/" LOGPATH: "log/" RUNTYPE: "1" APOLLO: "A" GAMEPORT: "8000" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "fivedragon" restart: always ports: - "10961:8000" - "11961:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/fivedragon/logs/normal_a:/fivedragon/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" fivedragon_a_2: image: repo.rdvalidasi.com/indonesia/game/coin/fivedragon:v0.0.5 container_name: fivedragon_a_2 environment: GROUPID: "2" SERVERID: "10341201" STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" PROCONF: "conf/pro/" LOGPATH: "log/" RUNTYPE: "1" APOLLO: "A" GAMEPORT: "8000" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "fivedragon" restart: always ports: - "10962:8000" - "11962:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/fivedragon/logs/normal_a:/fivedragon/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" fivedragon_a_3: image: repo.rdvalidasi.com/indonesia/game/coin/fivedragon:v0.0.5 container_name: fivedragon_a_3 environment: GROUPID: "3" SERVERID: "10341301" STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" PROCONF: "conf/pro/" LOGPATH: "log/" RUNTYPE: "1" APOLLO: "A" GAMEPORT: "8000" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "fivedragon" restart: always ports: - "10963:8000" - "11963:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/fivedragon/logs/normal_a:/fivedragon/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" fivedragon_a_4: image: repo.rdvalidasi.com/indonesia/game/coin/fivedragon:v0.0.5 container_name: fivedragon_a_4 environment: GROUPID: "4" SERVERID: "10341401" STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" PROCONF: "conf/pro/" LOGPATH: "log/" RUNTYPE: "1" APOLLO: "A" GAMEPORT: "8000" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "fivedragon" restart: always ports: - "10964:8000" - "11964:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/fivedragon/logs/normal_a:/fivedragon/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10"