version: '3' services: slotsmatch_normal_1: image: repo.rdvalidasi.com/indonesia/game/slotsmatch:v0.2.10 container_name: slotsmatch_normal_1 environment: STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" LOGPATH: "log/" RUNTYPE: "2" GAMEPORT: "0.0.0.0:8080" HTTPPORT: "0.0.0.0:8081" GRAFANAPORT: "0.0.0.0:9999" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "slotsmatch" # command: ./slotsmatch -static "conf/static/" -dynamic "conf/dynamic/" -lf "log/" -runType 2 -gamePort "0.0.0.0:8080" -httpPort "0.0.0.0:8081" -grafanaPort "0.0.0.0:9999" restart: always ports: - "11001:8080" - "11011:8081" - "11101:9999" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/slotsmatch/logs/normal:/slotsmatch/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "5" slotsmatch_normal_2: image: repo.rdvalidasi.com/indonesia/game/slotsmatch:v0.2.10 container_name: slotsmatch_normal_2 environment: STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" LOGPATH: "log/" RUNTYPE: "2" GAMEPORT: "0.0.0.0:8080" HTTPPORT: "0.0.0.0:8081" GRAFANAPORT: "0.0.0.0:9999" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "slotsmatch" # command: ./slotsmatch -static "conf/static/" -dynamic "conf/dynamic/" -lf "log/" -runType 2 -gamePort "0.0.0.0:8080" -httpPort "0.0.0.0:8081" -grafanaPort "0.0.0.0:9999" restart: always ports: - "11002:8080" - "11012:8081" - "11102:9999" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/slotsmatch/logs/normal:/slotsmatch/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "5" slotsmatch_normal_3: image: repo.rdvalidasi.com/indonesia/game/slotsmatch:v0.2.10 container_name: slotsmatch_normal_3 environment: STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" LOGPATH: "log/" RUNTYPE: "2" GAMEPORT: "0.0.0.0:8080" HTTPPORT: "0.0.0.0:8081" GRAFANAPORT: "0.0.0.0:9999" ApolloStart: "start" ApolloAddr: "http://apollo-uat" ApolloClusterName: "default" ApolloAppId: "slotsmatch" # command: ./slotsmatch -static "conf/static/" -dynamic "conf/dynamic/" -lf "log/" -runType 2 -gamePort "0.0.0.0:8080" -httpPort "0.0.0.0:8081" -grafanaPort "0.0.0.0:9999" restart: always ports: - "11003:8080" - "11013:8081" - "11103:9999" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/slotsmatch/logs/normal:/slotsmatch/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "5"