Add initial setup for Azerothcore with Docker and environment configuration

This commit is contained in:
notepadguyOfficial
2025-02-11 16:06:15 +08:00
parent a65bb95553
commit 1620931318
10 changed files with 461 additions and 2 deletions

25
src/.env Normal file
View File

@@ -0,0 +1,25 @@
#
# Create a .env file in the root folder and use the following
# variables to configure your docker compose
#
DOCKER_AC_ENV_FILE=
DOCKER_VOL_ROOT=
DOCKER_VOL_CONF=
DOCKER_VOL_ETC=../wotlk/etc
DOCKER_VOL_LOGS=../wotlk/logs
DOCKER_VOL_DATA=
DOCKER_WORLD_EXTERNAL_PORT=
DOCKER_SOAP_EXTERNAL_PORT=
DOCKER_AUTH_EXTERNAL_PORT=
DOCKER_DB_EXTERNAL_PORT=
DOCKER_DB_ROOT_PASSWORD=root
DOCKER_USER=acore
DOCKER_USER_ID=1000
DOCKER_GROUP_ID=1000
TZ=Europe/Oslo

View File

@@ -0,0 +1,10 @@
services:
ac-database:
environment:
TZ: ${TZ}
ac-worldserver:
environment:
TZ: ${TZ}
volumes:
- ./modules:/azerothcore/modules:rw

View File

@@ -0,0 +1,3 @@
USE acore_auth;
SELECT * FROM realmlist;
UPDATE realmlist SET address='{{IP_ADDRESS}}';