mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-07 21:01:37 +00:00
feat(Apps/Docker): Use Env Vars for docker configuration (#17040)
* feat(docker): Use Env Vars for docker configuration use env vars for docker * simplify docker-compose.yaml
This commit is contained in:
0
env/docker/bin/.gitkeep
vendored
0
env/docker/bin/.gitkeep
vendored
0
env/docker/data/.gitkeep
vendored
0
env/docker/data/.gitkeep
vendored
0
env/docker/data/Cameras/.gitkeep
vendored
0
env/docker/data/Cameras/.gitkeep
vendored
0
env/docker/data/dbc/.gitkeep
vendored
0
env/docker/data/dbc/.gitkeep
vendored
0
env/docker/data/maps/.gitkeep
vendored
0
env/docker/data/maps/.gitkeep
vendored
0
env/docker/data/mmaps/.gitkeep
vendored
0
env/docker/data/mmaps/.gitkeep
vendored
0
env/docker/data/vmaps/.gitkeep
vendored
0
env/docker/data/vmaps/.gitkeep
vendored
0
env/docker/etc/.gitkeep
vendored
0
env/docker/etc/.gitkeep
vendored
22
env/docker/etc/authserver.conf.dockerdist
vendored
22
env/docker/etc/authserver.conf.dockerdist
vendored
@@ -1,22 +0,0 @@
|
||||
###############################################
|
||||
# AzerothCore Auth Server configuration file #
|
||||
###############################################
|
||||
[authserver]
|
||||
|
||||
# Do not change this
|
||||
# Files in LogsDir will reflect on your host directory: docker/authserver/logs
|
||||
LogsDir = "/azerothcore/env/dist/logs"
|
||||
# Files in TempDir will reflect on your host directory: docker/authserver/temp
|
||||
TempDir = "/azerothcore/env/dist/temp"
|
||||
|
||||
# Change this configuration accordingly with your docker setup
|
||||
# The format is "hostname;port;username;password;database":
|
||||
# - docker containers must be on the same docker network to be able to communicate
|
||||
# - the DB hostname will be the name of the database docker container
|
||||
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
|
||||
|
||||
# Add more configuration overwrites by copying settings from from authserver.conf.dist
|
||||
|
||||
SQLDriverLogFile = "SQLDriver.log"
|
||||
SQLDriverQueryLogging = 1
|
||||
|
||||
18
env/docker/etc/dbimport.conf.dockerdist
vendored
18
env/docker/etc/dbimport.conf.dockerdist
vendored
@@ -1,18 +0,0 @@
|
||||
# Do NOT change those Dir configs
|
||||
# Files in LogsDir will reflect on your host directory: docker/worldserver/logs
|
||||
LogsDir = "/azerothcore/env/dist/logs"
|
||||
# Files in TempDir will reflect on your host directory: docker/authserver/temp
|
||||
DataDir = "/azerothcore/env/dist/data"
|
||||
|
||||
# Change this configuration accordingly with your docker setup
|
||||
# The format is "hostname;port;username;password;database":
|
||||
# - docker containers must be on the same docker network to be able to communicate
|
||||
# - the DB hostname will be the name of the database docker container
|
||||
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
|
||||
WorldDatabaseInfo = "ac-database;3306;root;password;acore_world"
|
||||
CharacterDatabaseInfo = "ac-database;3306;root;password;acore_characters"
|
||||
|
||||
# Add more configuration overwrites by copying settings from worldserver.conf.dist
|
||||
|
||||
# Disable idle connections automatic kick since it doesn't work well on macOS + Docker
|
||||
CloseIdleConnections = 0
|
||||
23
env/docker/etc/worldserver.conf.dockerdist
vendored
23
env/docker/etc/worldserver.conf.dockerdist
vendored
@@ -1,23 +0,0 @@
|
||||
################################################
|
||||
# AzerothCore World Server configuration file #
|
||||
################################################
|
||||
[worldserver]
|
||||
|
||||
# Do NOT change those Dir configs
|
||||
# Files in LogsDir will reflect on your host directory: docker/worldserver/logs
|
||||
LogsDir = "/azerothcore/env/dist/logs"
|
||||
# Files in TempDir will reflect on your host directory: docker/authserver/temp
|
||||
DataDir = "/azerothcore/env/dist/data"
|
||||
|
||||
# Change this configuration accordingly with your docker setup
|
||||
# The format is "hostname;port;username;password;database":
|
||||
# - docker containers must be on the same docker network to be able to communicate
|
||||
# - the DB hostname will be the name of the database docker container
|
||||
LoginDatabaseInfo = "ac-database;3306;root;password;acore_auth"
|
||||
WorldDatabaseInfo = "ac-database;3306;root;password;acore_world"
|
||||
CharacterDatabaseInfo = "ac-database;3306;root;password;acore_characters"
|
||||
|
||||
# Add more configuration overwrites by copying settings from worldserver.conf.dist
|
||||
|
||||
# Disable idle connections automatic kick since it doesn't work well on macOS + Docker
|
||||
CloseIdleConnections = 0
|
||||
0
env/docker/logs/.gitkeep
vendored
0
env/docker/logs/.gitkeep
vendored
Reference in New Issue
Block a user