version: '3' services: lhbattlesingle_normal_a_1: image: container_name: lhbattlesingle_normal_a_1 environment: GAMEID: "2015" RUNTYPE: "1" GROUPID: "1" SERVERID: "20151101" CONFIGPATH: "conf/" LOGPATH: "log/" GAMEPORT: "8000" HTTPPORT: "8080" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "lhbattlesingle" ports: - "18091:8000" - "18191:8080" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/lhbattlesingle/logs/normal_a/:/lhbattlesingle/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" # lhbattlesingle_normal_a_2: # image: # container_name: lhbattlesingle_normal_a_2 # environment: # GAMEID: "2015" # RUNTYPE: "1" # GROUPID: "2" # SERVERID: "20151102" # CONFIGPATH: "conf/" # LOGPATH: "log/" # GAMEPORT: "8000" # HTTPPORT: "8080" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "lhbattlesingle" # ports: # - "18092:8000" # - "18192:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/lhbattlesingle/logs/normal_a/:/lhbattlesingle/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10" # # lhbattlesingle_normal_a_3: # image: # container_name: lhbattlesingle_normal_a_3 # environment: # GAMEID: "2015" # RUNTYPE: "1" # GROUPID: "3" # SERVERID: "20151103" # CONFIGPATH: "conf/" # LOGPATH: "log/" # GAMEPORT: "8000" # HTTPPORT: "8080" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "lhbattlesingle" # ports: # - "18093:8000" # - "18193:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/lhbattlesingle/logs/normal_a/:/lhbattlesingle/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10" # # lhbattlesingle_normal_a_4: # image: # container_name: lhbattlesingle_normal_a_4 # environment: # GAMEID: "2015" # RUNTYPE: "1" # GROUPID: "4" # SERVERID: "20151104" # CONFIGPATH: "conf/" # LOGPATH: "log/" # GAMEPORT: "8000" # HTTPPORT: "8080" # ApolloStart: "start" # ApolloAddr: "http://apollo-uat" # ApolloClusterName: "default" # ApolloAppId: "lhbattlesingle" # ports: # - "18094:8000" # - "18194:8080" # volumes: # - /etc/localtime:/etc/localtime # - /etc/hosts:/etc/hosts # - /usr/local/gitlab-runner/game/lhbattlesingle/logs/normal_a/:/lhbattlesingle/log # logging: # driver: "json-file" # options: # max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) # max-file: "10"