## ⚠️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)
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
# enable/disable GDB execution
|
|
export GDB_ENABLED=0
|
|
|
|
# [optional] gdb file
|
|
# default: gdb.conf
|
|
export GDB=""
|
|
|
|
# directory where binary are stored
|
|
export BINPATH=""
|
|
|
|
# Put here the pid you configured on your worldserver.conf file
|
|
# needed when GDB_ENABLED=1
|
|
export SERVERPID=""
|
|
|
|
# path to configuration file (including the file name)
|
|
# ex: /home/user/azerothcore/etc/worldserver.conf
|
|
export CONFIG=""
|
|
|
|
# path of log files
|
|
# needed by restarter to store its logs
|
|
export LOGS_PATH="";
|
|
|
|
# exec name
|
|
# ex: worldserver
|
|
export SERVERBIN=""
|
|
|
|
# prefix name for log files
|
|
# to avoid collision with other restarters
|
|
export LOG_PREFIX_NAME=""
|
|
|
|
# [optional] name of screen service
|
|
# if no specified, screen util won't be used
|
|
export SCREEN_NAME=""
|
|
|
|
# [optional] overwrite default screen options: -A -m -d -S
|
|
# WARNING: if you are running it under a systemd service
|
|
# please do not remove -m -d arguments from screen if are you using it,
|
|
# or keep WITH_CONSOLE=0 .
|
|
# otherwise the journald-logging system will take 100% of CPU slowing
|
|
# down the whole machine. It's because a systemd service should have
|
|
# low console output.
|
|
export SCREEN_OPTIONS=""
|
|
|
|
# enable/disable it to show the output
|
|
# within console, if disable the output will be redirect to
|
|
# logging files
|
|
#
|
|
export WITH_CONSOLE=0
|
|
|
|
|