1
0
forked from metin2/deploy

Added database initialization mechanism, support for in-game mall

This commit is contained in:
2024-09-22 09:54:42 +03:00
parent bcdd9ac51b
commit 0a497f5a69
3 changed files with 89 additions and 4 deletions

View File

@ -1,4 +1,6 @@
################################################################################
# MySQL settings
################################################################################
MYSQL_HOST=mysql
MYSQL_USER=root
MYSQL_PASSWORD=metin2
@ -9,6 +11,32 @@ MYSQL_DB_PLAYER=player
MYSQL_DB_COMMON=common
MYSQL_DB_LOG=log
################################################################################
# Web app settings
################################################################################
# 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
WEB_APP_KEY=
WEB_EXTERNAL_PORT=80
# E-mail configuration
WEB_MAIL_MAILER=smtp
WEB_MAIL_HOST=smtp.example.com
WEB_MAIL_PORT=587
WEB_MAIL_USERNAME=smtp-username
WEB_MAIL_PASSWORD=smtp-password
WEB_MAIL_ENCRYPTION=tls
WEB_MAIL_FROM_ADDRESS=no-reply@example.com
WEB_MAIL_FROM_NAME=Metin2
################################################################################
# Game server settings
################################################################################
# Global settings
TEST_SERVER=0
@ -20,4 +48,3 @@ DB_PORT=15000
PUBLIC_IP=127.0.0.1
GAME_IMAGE=git.old-metin2.com/metin2/server:nightly
GAME_MAX_LEVEL=105
GAME_MALL_URL=metin2.test/mall