From 708b65be30bcf29f7545dee8d35b0d4452c1d894 Mon Sep 17 00:00:00 2001 From: Exynox Date: Sun, 17 Nov 2024 09:58:56 +0200 Subject: [PATCH] Restructured sample .env file, switched database to biarms/mysql --- .env.example | 8 ++++++-- docker-compose.yml | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index a722325..4b54192 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,9 @@ +################################################################################ +# Docker images +################################################################################ +GAME_IMAGE=git.old-metin2.com/metin2/server:latest +WEB_IMAGE=git.old-metin2.com/metin2/web:latest + ################################################################################ # MySQL settings ################################################################################ @@ -16,7 +22,6 @@ MYSQL_DB_LOG=log ################################################################################ # General configuration -WEB_IMAGE=git.old-metin2.com/metin2/website:nightly WEB_APP_NAME=Metin2 WEB_APP_ENV=production WEB_APP_URL=http://metin2.local @@ -46,5 +51,4 @@ DB_PORT=15000 # Game settings PUBLIC_IP=127.0.0.1 -GAME_IMAGE=git.old-metin2.com/metin2/server:nightly GAME_MAX_LEVEL=105 diff --git a/docker-compose.yml b/docker-compose.yml index 4393a76..c244911 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,7 +22,8 @@ x-environment: services: # MySQL Database mysql: - image: mysql:5.5 + # The biarms/mysql Docker image supports ARM machines; you may also use mysql:5.5 + image: biarms/mysql:5.5 restart: on-failure environment: # Password for root access