add: Second channel.
parent
7dc6ebffa2
commit
eb874a2741
|
|
@ -194,6 +194,77 @@ services:
|
||||||
mariadb:
|
mariadb:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
||||||
|
# Game server (CH2)
|
||||||
|
ch2_first:
|
||||||
|
image: ${GAME_IMAGE}
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
<<: *common-environment
|
||||||
|
GAME_HOSTNAME: ch2_first
|
||||||
|
GAME_CHANNEL: 2
|
||||||
|
GAME_MARK_SERVER: 1
|
||||||
|
GAME_PORT: 13010
|
||||||
|
GAME_P2P_PORT: 14010
|
||||||
|
GAME_MAP_ALLOW: 1 4 5 6 3 23 43 112 107 67 68 72 208 302 304
|
||||||
|
expose:
|
||||||
|
- 13010
|
||||||
|
- 14010
|
||||||
|
ports:
|
||||||
|
- "13010:13010"
|
||||||
|
command: game
|
||||||
|
volumes:
|
||||||
|
- ./storage/log/ch2/first/:/app/log/
|
||||||
|
- ./storage/mark/:/app/mark/
|
||||||
|
depends_on:
|
||||||
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
ch2_game1:
|
||||||
|
image: ${GAME_IMAGE}
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
<<: *common-environment
|
||||||
|
GAME_HOSTNAME: ch2_game1
|
||||||
|
GAME_CHANNEL: 2
|
||||||
|
GAME_MARK_SERVER: 0
|
||||||
|
GAME_PORT: 13011
|
||||||
|
GAME_P2P_PORT: 14011
|
||||||
|
GAME_MAP_ALLOW: 21 24 25 26 108 61 63 69 70 73 216 217 303
|
||||||
|
expose:
|
||||||
|
- 13011
|
||||||
|
- 14011
|
||||||
|
ports:
|
||||||
|
- "13011:13011"
|
||||||
|
command: game
|
||||||
|
volumes:
|
||||||
|
- ./storage/log/ch2/game1/:/app/log/
|
||||||
|
depends_on:
|
||||||
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
|
ch2_game2:
|
||||||
|
image: ${GAME_IMAGE}
|
||||||
|
restart: always
|
||||||
|
environment:
|
||||||
|
<<: *common-environment
|
||||||
|
GAME_HOSTNAME: ch2_game2
|
||||||
|
GAME_CHANNEL: 2
|
||||||
|
GAME_MARK_SERVER: 0
|
||||||
|
GAME_PORT: 13012
|
||||||
|
GAME_P2P_PORT: 14012
|
||||||
|
GAME_MAP_ALLOW: 41 44 45 46 109 62 64 65 66 71 104 301 351
|
||||||
|
expose:
|
||||||
|
- 13012
|
||||||
|
- 14012
|
||||||
|
ports:
|
||||||
|
- "13012:13012"
|
||||||
|
command: game
|
||||||
|
volumes:
|
||||||
|
- ./storage/log/ch2/game2/:/app/log/
|
||||||
|
depends_on:
|
||||||
|
mariadb:
|
||||||
|
condition: service_healthy
|
||||||
|
|
||||||
# Game server (game99)
|
# Game server (game99)
|
||||||
game99:
|
game99:
|
||||||
image: ${GAME_IMAGE}
|
image: ${GAME_IMAGE}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue