diff --git a/.gitignore b/.gitignore index fb29e12..dcaa358 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,7 @@ Desktop.ini # Environmental files # .env + +# Log files +# +*.log diff --git a/Dockerfile b/Dockerfile index adb45d0..b3d1c35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,7 +89,7 @@ RUN mkdir -p "${MANGOS_DIR}" \ # - POSTGRESQL Use PostgreSQL instead of mysql # - BUILD_EXTRACTORS Build map/dbc/vmap/mmap extractor # - BUILD_SCRIPTDEV Build scriptdev. (Disable it to speedup build in dev mode by not including scripts) -# - BUILD_PLAYERBOT Build Playerbot mod +# - BUILD_PLAYERBOTS Build Playerbot mod # - BUILD_AHBOT Build Auction House Bot mod # - BUILD_METRICS Build Metrics, generate data for Grafana # - BUILD_RECASTDEMOMOD Build map/vmap/mmap viewer diff --git a/builder/InstallFullDB.config b/builder/InstallFullDB.config index 51fafdf..8cba055 100644 --- a/builder/InstallFullDB.config +++ b/builder/InstallFullDB.config @@ -60,4 +60,8 @@ DEV_UPDATES="NO" ## Set the variable to "YES" to import AHBot sql. AHBOT="NO" +## Define if the 'src/modules/PlayerBots/sql' directory for processing development SQL files needs to be used +## Set the variable to "YES" to use the playerbots directory +PLAYERBOTS_DB="NO" + # Enjoy using the tool diff --git a/cmangos-run.sh b/cmangos-run.sh index 9d4ea48..6d4aca8 100755 --- a/cmangos-run.sh +++ b/cmangos-run.sh @@ -6,5 +6,5 @@ set -e readonly PROJECT="cmangos" readonly SERVICE="mangosd" -docker-compose -p "${PROJECT}" up --detach -docker attach "${PROJECT}_${SERVICE}_1" +docker compose -p "${PROJECT}" up --detach +docker attach "${PROJECT}-${SERVICE}-1"