summaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2022-10-05 13:15:42 +0200
committerGitHub <noreply@github.com>2022-10-05 13:15:42 +0200
commite189caeb76347b573727262739d7fbc919366aa6 (patch)
treeb4d36817fc33132e094785042a3680ad586297b6 /env
parent00eea376f193aa425c5d5a6174f51848305f6903 (diff)
feat(docker): implemented dbimport (#13308)
## Changes Proposed: - Implemented dbimport with docker - deprecated db_assembler - Fixed deno scripts and integrated them with the CI
Diffstat (limited to 'env')
-rw-r--r--env/docker/etc/dbimport.conf.dockerdist18
1 files changed, 18 insertions, 0 deletions
diff --git a/env/docker/etc/dbimport.conf.dockerdist b/env/docker/etc/dbimport.conf.dockerdist
new file mode 100644
index 0000000000..9f60b97728
--- /dev/null
+++ b/env/docker/etc/dbimport.conf.dockerdist
@@ -0,0 +1,18 @@
+# Do NOT change those Dir configs
+# Files in LogsDir will reflect on your host directory: docker/worldserver/logs
+LogsDir = "/azerothcore/env/dist/logs"
+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
+LogLevel = 2
+
+# Disable idle connections automatic kick since it doesn't work well on macOS + Docker
+CloseIdleConnections = 0