version: "3" services: bandarqq_a_1: container_name: bandarqq_a_1 image: repo.rdvalidasi.com/indonesia/game/chess/bandarqq:v1-1-38 ports: - "18011:8000" - "18111:8080" environment: ApolloStart: start ApolloAddr: http://apollo-uat ApolloClusterName: default ApolloAppId: BandarQQ LogFileOutPut: 1 command: ./BandarQQ -runType 1 -groupId 1 -serverId bandarqq_a_1 -listen 0.0.0.0:8000 -http 0.0.0.0:8080 volumes: - /usr/local/gitlab-runner/game/bandarqq/logs/bandarqq_a_1:/opt/BandarQQ/logs - /etc/hosts:/etc/hosts restart: "always" logging: driver: "json-file" options: max-size: "200m" # The maximum size of the log before cutting. The value unit is (k, m, g) max-file: "10" ################################################### Ai Server ########################################################### bandarqq_a_ai_1: container_name: bandarqqs_a_ai_1 image: repo.rdvalidasi.com/indonesia/game/chess/bandarqq:v1-1-38 environment: ApolloStart: start ApolloAddr: http://apollo-uat ApolloClusterName: default ApolloAppId: BandarQQ LogFileOutPut: 1 restart: always ports: - "18151:8080" command: ./BandarQQ -runType 3 -groupId 1 -gameListen ws://bandarqq_a_1:8000 -http 0.0.0.0:8080 volumes: - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/bandarqq/logs/bandarqq_a_ai_1:/opt/BandarQQ/logs logging: driver: "json-file" options: max-size: "200m" # The maximum size of the log before cutting. The value unit is (k, m, g) max-file: "10" networks: default: external: name: work