Files
AzerothCore-RealmMaster/docker-compose-test-worldserver.env
uprightbass360 4a5b7c80b5 env cleanups
2025-10-02 00:41:40 -04:00

75 lines
2.5 KiB
Bash

# ==============================================
# TEST WORLDSERVER ENVIRONMENT CONFIGURATION
# ==============================================
# This configuration is for testing worldserver with
# local game files vs. external volume mount
# ==============================================
# IMAGE CONFIGURATION
# ==============================================
AC_WORLDSERVER_IMAGE=acore/ac-wotlk-worldserver:14.0.0-dev
IMAGE_PULL_POLICY=if_not_present
# ==============================================
# PLAYERBOT CONFIGURATION
# ==============================================
# Playerbot settings for AI-controlled bots
PLAYERBOT_ENABLED=1
PLAYERBOT_MAX_BOTS=40
# ==============================================
# HEALTH CHECK CONFIGURATION
# ==============================================
# World server health check - extended for download time
WORLD_HEALTHCHECK_INTERVAL=30s
WORLD_HEALTHCHECK_TIMEOUT=10s
WORLD_HEALTHCHECK_RETRIES=3
WORLD_HEALTHCHECK_START_PERIOD=1800s # 30 minutes for download/extraction
# ==============================================
# NETWORK CONFIGURATION
# ==============================================
# Test external ports (different from main deployment)
WORLD_EXTERNAL_PORT_TEST=8216 # Different port to avoid conflict
SOAP_EXTERNAL_PORT_TEST=7779 # Different port to avoid conflict
# Internal ports (container side)
WORLD_PORT=8085
SOAP_PORT=7878
# ==============================================
# DEPLOYMENT CONFIGURATION
# ==============================================
# Storage root path - local: ./storage, production: /nfs/containers or custom mount
STORAGE_ROOT=./storage
# Storage configuration (same as other layers for config/logs)
STORAGE_PATH=${STORAGE_ROOT}/azerothcore
# ==============================================
# CONTAINER NAMES
# ==============================================
# Test container name to avoid conflicts
CONTAINER_WORLDSERVER_TEST=ac-worldserver-test
# Database container name (for external linking)
CONTAINER_MYSQL=ac-mysql
# ==============================================
# NETWORK SETTINGS
# ==============================================
# Network must already exist from database layer
NETWORK_NAME=azerothcore
# ==============================================
# DATABASE CONFIGURATION
# ==============================================
# Database credentials and connection info
MYSQL_HOST=ac-mysql
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_ROOT_PASSWORD=azerothcore123
# Database names
DB_AUTH_NAME=acore_auth
DB_WORLD_NAME=acore_world
DB_CHARACTERS_NAME=acore_characters