version: '3' services: princess_a_1: image: repo.rdvalidasi.com/indonesia/game/coin/princess:v0.1.5 container_name: princess_a_1 environment: GROUPID: "1" SERVERID: "10281101" STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" PROCONF: "conf/pro/" LOGPATH: "log/" RUNTYPE: "1" GAMEPORT: "8000" HTTPPORT: "8080" APOLLO: "A" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "princess" restart: always ports: - "10951:8000" - "11951:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/princess/logs/normal_a:/princess/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" # princess_a_2: # image: repo.rdvalidasi.com/indonesia/game/coin/princess:v0.1.5 # container_name: princess_a_2 # environment: # GROUPID: "2" # SERVERID: "10281201" # STATICCONF: "conf/static/" # DYNAMICCONF: "conf/dynamic/" # PROCONF: "conf/pro/" # LOGPATH: "log/" # RUNTYPE: "1" # GAMEPORT: "8000" # HTTPPORT: "8080" # APOLLO: "A" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "princess" # restart: always # ports: # - "10952:8000" # - "11952:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/princess/logs/normal_a:/princess/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10" # princess_a_3: # image: repo.rdvalidasi.com/indonesia/game/coin/princess:v0.1.5 # container_name: princess_a_3 # environment: # GROUPID: "3" # SERVERID: "10281301" # STATICCONF: "conf/static/" # DYNAMICCONF: "conf/dynamic/" # PROCONF: "conf/pro/" # LOGPATH: "log/" # RUNTYPE: "1" # GAMEPORT: "8000" # HTTPPORT: "8080" # APOLLO: "A" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "princess" # restart: always # ports: # - "10953:8000" # - "11953:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/princess/logs/normal_a:/princess/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10" # princess_a_4: # image: repo.rdvalidasi.com/indonesia/game/coin/princess:v0.1.5 # container_name: princess_a_4 # environment: # GROUPID: "4" # SERVERID: "10281401" # STATICCONF: "conf/static/" # DYNAMICCONF: "conf/dynamic/" # PROCONF: "conf/pro/" # LOGPATH: "log/" # RUNTYPE: "1" # GAMEPORT: "8000" # HTTPPORT: "8080" # APOLLO: "A" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "princess" # restart: always # ports: # - "10954:8000" # - "11954:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/princess/logs/normal_a:/princess/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10"