version: '3' services: slotsmatch_mgr: image: repo.rdvalidasi.com/indonesia/game/slotsmatch:v0.2.10 container_name: slotsmatch_mgr environment: STATICCONF: "conf/static/" DYNAMICCONF: "conf/dynamic/" LOGPATH: "log/" RUNTYPE: "1" 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 1 -gamePort "0.0.0.0:8080" -httpPort "0.0.0.0:8081" -grafanaPort "0.0.0.0:9999" restart: always ports: - "11004:8081" - "11100:9999" volumes: - /etc/localtime:/etc/localtime - /etc/hosts:/etc/hosts - /usr/local/gitlab-runner/game/slotsmatch/logs/manager:/slotsmatch/log logging: driver: "json-file" options: max-size: "200m" # 切割之前日志的最大大小。可取值单位为(k,m,g) max-file: "3"