summaryrefslogtreecommitdiff
path: root/apps/startup-scripts/examples
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2021-04-22 09:57:05 +0200
committerGitHub <noreply@github.com>2021-04-22 09:57:05 +0200
commit380f406248bdc1f15227a7b2f8a75b4bf922f730 (patch)
tree497bb589f7bd80073ea755f14e33505ff572353b /apps/startup-scripts/examples
parent4a8faafaff2753349ea15aa602cc3816f4e42de6 (diff)
Feat(Docker/bash): docker-compose system rework (#4488)
## ⚠️ATTENTION! ⚠️ Upgrading procedure: **Database:** After this PR will be merged you need to backup your DB first (you can use the db-assembler or any mysql client to generate the dump) and restore it after. The reason is that we use now docker named volumes instead of binded ones to improve performance. **Conf & client data**: if you use the default configuration, both the etc and the data folder are now available inside the **/env/docker**. Finally, you can cleanup the /docker folder previously used by our system. ## Changes Proposed: This PR will implement the [devcontainer ](https://code.visualstudio.com/docs/remote/containers) feature for VSCode. Allowing us to develop and debug directly within the container in the same way on all OSes. * Implemented support for vscode dev-container feature by remote-extension suite * Docker performance optimizations for MacOS and non-linux hosts * Bash system improvements * Implemented first command using Deno runtime environment (typescript) and [commander.js] * Implemented wait mechanism for db_assembler * Implemented db migration command * possibility to run the authserver and worldserver with GDB using the integrated simple-restarter * Implemented docker multi-stage mechanism to use one single Dockerfile for all the services * client-data downloader now creates a placeholder to avoid downloading the same version of data files multiple times * deployment of pre-compiled docker images on [docker hub](https://hub.docker.com/u/acore), you can test them [here](https://github.com/azerothcore/acore-docker)
Diffstat (limited to 'apps/startup-scripts/examples')
-rw-r--r--apps/startup-scripts/examples/restarter-auth.sh6
-rw-r--r--apps/startup-scripts/examples/restarter-world.sh6
-rw-r--r--apps/startup-scripts/examples/starter-auth.sh5
-rw-r--r--apps/startup-scripts/examples/starter-world.sh6
4 files changed, 11 insertions, 12 deletions
diff --git a/apps/startup-scripts/examples/restarter-auth.sh b/apps/startup-scripts/examples/restarter-auth.sh
index 575981cf2a..61ea8b9cfa 100644
--- a/apps/startup-scripts/examples/restarter-auth.sh
+++ b/apps/startup-scripts/examples/restarter-auth.sh
@@ -2,12 +2,12 @@
PATH_RUNENGINE="./"
-source $PATH_RUNENGINE/run-engine
+source "$PATH_RUNENGINE/run-engine"
# you must create your conf
-# copying conf.sh.dist
+# copying conf.sh.dist
# and renaming as below
-source ./conf-auth.sh
+source "./conf-auth.sh"
restarter
diff --git a/apps/startup-scripts/examples/restarter-world.sh b/apps/startup-scripts/examples/restarter-world.sh
index 5307eb4a76..9b34e114e0 100644
--- a/apps/startup-scripts/examples/restarter-world.sh
+++ b/apps/startup-scripts/examples/restarter-world.sh
@@ -2,12 +2,12 @@
PATH_RUNENGINE="./"
-source $PATH_RUNENGINE/run-engine
+source "$PATH_RUNENGINE/run-engine"
# you must create your conf
-# copying conf.sh.dist
+# copying conf.sh.dist
# and renaming as below
-source ./conf-world.sh
+source "./conf-world.sh"
restarter
diff --git a/apps/startup-scripts/examples/starter-auth.sh b/apps/startup-scripts/examples/starter-auth.sh
index 0aedb9bca7..734cfb5a22 100644
--- a/apps/startup-scripts/examples/starter-auth.sh
+++ b/apps/startup-scripts/examples/starter-auth.sh
@@ -2,13 +2,12 @@
PATH_RUNENGINE="./"
-source $PATH_RUNENGINE/run-engine
+source "$PATH_RUNENGINE/run-engine"
# you must create your conf
# copying conf.sh.dist
# and renaming as below
-source ./conf-auth.sh
+source "./conf-auth.sh"
starter
-
diff --git a/apps/startup-scripts/examples/starter-world.sh b/apps/startup-scripts/examples/starter-world.sh
index 4b866dee1d..697a2c85ac 100644
--- a/apps/startup-scripts/examples/starter-world.sh
+++ b/apps/startup-scripts/examples/starter-world.sh
@@ -2,12 +2,12 @@
PATH_RUNENGINE="./"
-source $PATH_RUNENGINE/run-engine
+source "$PATH_RUNENGINE/run-engine"
# you must create your conf
-# copying conf.sh.dist
+# copying conf.sh.dist
# and renaming as below
-source ./conf-world.sh
+source "./conf-world.sh"
starter