version: "3" services: airbattle_a_1: image: repo.rdvalidasi.com/indonesia/game/coin/airbattle:v1.1.8 container_name: airbattle_a_1 environment: - GAMEID=3007 - ARENAID=1 #场ID - SERVERID=1 - VERSION=1 - ADDRESS=149.129.217.130:10201 - DISCOVERY_NODES=discovery.zt:7000 - HTTPADDRESS=192.168.0.123:11201 - APOLLO_APP_ID=airbattle - APOLLO_CLUSTER=default - APOLLO_META_ADDR=http://apollo-uat/ - ZAP_PATH=/opt/service/bin/log/ - LOG_DIR=/opt/service/bin/log/ restart: always ports: - 11201:8080 #http端口 - 10201:8000 #tcp端口 volumes: - /etc/hosts:/etc/hosts - /etc/localtime:/etc/localtime - /usr/local/gitlab-runner/game/airbattle/logs/normal_a/log1-1/:/opt/service/bin/log/ logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" airbattle_a_2: image: repo.rdvalidasi.com/indonesia/game/coin/airbattle:v1.1.8 container_name: airbattle_a_2 environment: - GAMEID=3007 - ARENAID=2 #场ID - SERVERID=1 - VERSION=1 - ADDRESS=149.129.217.130:10202 - DISCOVERY_NODES=discovery.zt:7000 - HTTPADDRESS=192.168.0.123:11202 - APOLLO_APP_ID=airbattle - APOLLO_CLUSTER=default - APOLLO_META_ADDR=http://apollo-uat/ - ZAP_PATH=/opt/service/bin/log/ - LOG_DIR=/opt/service/bin/log/ restart: always ports: - 11202:8080 #http端口 - 10202:8000 #tcp端口 volumes: - /etc/hosts:/etc/hosts - /etc/localtime:/etc/localtime - /usr/local/gitlab-runner/game/airbattle/logs/normal_a/log2-1/:/opt/service/bin/log/ logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" airbattle_a_3: image: repo.rdvalidasi.com/indonesia/game/coin/airbattle:v1.1.8 container_name: airbattle_a_3 environment: - GAMEID=3007 - ARENAID=3 #场ID - SERVERID=1 - VERSION=1 - ADDRESS=149.129.217.130:10203 - DISCOVERY_NODES=discovery.zt:7000 - HTTPADDRESS=192.168.0.123:11203 - APOLLO_APP_ID=airbattle - APOLLO_CLUSTER=default - APOLLO_META_ADDR=http://apollo-uat/ - ZAP_PATH=/opt/service/bin/log/ - LOG_DIR=/opt/service/bin/log/ restart: always ports: - 11203:8080 #http端口 - 10203:8000 #tcp端口 volumes: - /etc/hosts:/etc/hosts - /etc/localtime:/etc/localtime - /usr/local/gitlab-runner/game/airbattle/logs/normal_a/log3-1/:/opt/service/bin/log/ logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" airbattle_a_4: image: repo.rdvalidasi.com/indonesia/game/coin/airbattle:v1.1.8 container_name: airbattle_a_4 environment: - GAMEID=3007 - ARENAID=4 #场ID - SERVERID=1 - VERSION=1 - ADDRESS=149.129.217.130:10204 - DISCOVERY_NODES=discovery.zt:7000 - HTTPADDRESS=192.168.0.123:11204 - APOLLO_APP_ID=airbattle - APOLLO_CLUSTER=default - APOLLO_META_ADDR=http://apollo-uat/ - ZAP_PATH=/opt/service/bin/log/ - LOG_DIR=/opt/service/bin/log/ restart: always ports: - 11204:8080 #http端口 - 10204:8000 #tcp端口 volumes: - /etc/hosts:/etc/hosts - /etc/localtime:/etc/localtime - /usr/local/gitlab-runner/game/airbattle/logs/normal_a/log4-1/:/opt/service/bin/log/ logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" airbattle_a_5: image: repo.rdvalidasi.com/indonesia/game/coin/airbattle:v1.1.8 container_name: airbattle_a_5 environment: - GAMEID=3007 - ARENAID=5 #场ID - SERVERID=1 - VERSION=1 - ADDRESS=149.129.217.130:10205 - DISCOVERY_NODES=discovery.zt:7000 - HTTPADDRESS=192.168.0.123:11205 - APOLLO_APP_ID=airbattle - APOLLO_CLUSTER=default - APOLLO_META_ADDR=http://apollo-uat/ - LOG_DIR=/opt/service/bin/log/ restart: always ports: - 11205:8080 #http端口 - 10205:8000 #tcp端口 volumes: - /etc/hosts:/etc/hosts - /etc/localtime:/etc/localtime - /usr/local/gitlab-runner/game/airbattle/logs/normal_a/log5-1/:/opt/service/bin/log/ logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "10" networks: - default networks: default: external: name: game_default