Added compatibility matrix, set services to always restart.

This commit is contained in:
2024-12-07 20:22:30 +02:00
parent 9a705f42e2
commit b7cf9d999f
2 changed files with 97 additions and 23 deletions

View File

@ -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