forked from metin2/deploy
Added compatibility matrix, set services to always restart.
This commit is contained in:
@ -24,7 +24,7 @@ services:
|
||||
mysql:
|
||||
# The biarms/mysql Docker image supports ARM machines; you may also use mysql:5.5
|
||||
image: biarms/mysql:5.5
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
# Password for root access
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD}
|
||||
@ -44,7 +44,7 @@ services:
|
||||
# Web management system
|
||||
web:
|
||||
image: ${WEB_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
# Application config
|
||||
APP_NAME: ${WEB_APP_NAME}
|
||||
@ -83,7 +83,7 @@ services:
|
||||
# DBCache Server
|
||||
db:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment: *common-environment
|
||||
expose:
|
||||
- ${DB_PORT}
|
||||
@ -99,7 +99,7 @@ services:
|
||||
# Auth server
|
||||
auth:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-environment
|
||||
MYSQL_DB_PLAYER: ${MYSQL_DB_ACCOUNT}
|
||||
@ -125,7 +125,7 @@ services:
|
||||
# Game server (CH1)
|
||||
ch1_first:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-environment
|
||||
GAME_HOSTNAME: ch1_first
|
||||
@ -151,7 +151,7 @@ services:
|
||||
|
||||
ch1_game1:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-environment
|
||||
GAME_HOSTNAME: ch1_game1
|
||||
@ -176,7 +176,7 @@ services:
|
||||
|
||||
ch1_game2:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-environment
|
||||
GAME_HOSTNAME: ch1_game2
|
||||
@ -202,7 +202,7 @@ services:
|
||||
# Game server (game99)
|
||||
game99:
|
||||
image: ${GAME_IMAGE}
|
||||
restart: on-failure
|
||||
restart: always
|
||||
environment:
|
||||
<<: *common-environment
|
||||
GAME_HOSTNAME: game99
|
||||
|
Reference in New Issue
Block a user