mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-02-14 07:43:42 +00:00
Improve database timeout handling and add local testing setup
- Update database timeout values for better Portainer/NFS compatibility - Add .env-database-local for local testing with reduced resource requirements - Create local data directories and backup script validation - Split compose validation confirms proper service dependency configuration - Increase MySQL health check timeouts: start_period 60s→120s, timeout 10s→15s - Extend database wait times: retries 30→60, sleep 5→10 (total 150s→600s) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
89
.env-services
Normal file
89
.env-services
Normal file
@@ -0,0 +1,89 @@
|
||||
# ==============================================
|
||||
# AZEROTHCORE CORE SERVICES ENVIRONMENT
|
||||
# ==============================================
|
||||
# Environment variables for auth server, world server, and client data
|
||||
|
||||
# ==============================================
|
||||
# DATABASE CONNECTION (REQUIRED)
|
||||
# ==============================================
|
||||
# Connect to database layer (must match database layer settings)
|
||||
MYSQL_HOST=ac-mysql
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_USER=root
|
||||
MYSQL_ROOT_PASSWORD=azerothcore123
|
||||
|
||||
# Database names (must match database layer)
|
||||
DB_AUTH_NAME=acore_auth
|
||||
DB_WORLD_NAME=acore_world
|
||||
DB_CHARACTERS_NAME=acore_characters
|
||||
|
||||
# ==============================================
|
||||
# DOCKER IMAGES (REQUIRED)
|
||||
# ==============================================
|
||||
# Core service images
|
||||
AC_AUTHSERVER_IMAGE=acore/ac-wotlk-authserver:14.0.0-dev
|
||||
AC_WORLDSERVER_IMAGE=acore/ac-wotlk-worldserver:14.0.0-dev
|
||||
ALPINE_IMAGE=alpine:latest
|
||||
|
||||
# ==============================================
|
||||
# IMAGE PULL POLICY (REQUIRED)
|
||||
# ==============================================
|
||||
IMAGE_PULL_POLICY=if_not_present
|
||||
|
||||
# ==============================================
|
||||
# CONTAINER HEALTH CHECKS (REQUIRED)
|
||||
# ==============================================
|
||||
# Auth server health check
|
||||
AUTH_HEALTHCHECK_INTERVAL=30s
|
||||
AUTH_HEALTHCHECK_TIMEOUT=10s
|
||||
AUTH_HEALTHCHECK_RETRIES=3
|
||||
AUTH_HEALTHCHECK_START_PERIOD=60s
|
||||
|
||||
# World server health check
|
||||
WORLD_HEALTHCHECK_INTERVAL=30s
|
||||
WORLD_HEALTHCHECK_TIMEOUT=10s
|
||||
WORLD_HEALTHCHECK_RETRIES=3
|
||||
WORLD_HEALTHCHECK_START_PERIOD=120s
|
||||
|
||||
# ==============================================
|
||||
# NETWORK CONFIGURATION (REQUIRED)
|
||||
# ==============================================
|
||||
# External ports for game services
|
||||
DOCKER_AUTH_EXTERNAL_PORT=3784
|
||||
DOCKER_WORLD_EXTERNAL_PORT=8215
|
||||
DOCKER_SOAP_EXTERNAL_PORT=7778
|
||||
|
||||
# Internal ports (container side)
|
||||
AUTH_PORT=3724
|
||||
WORLD_PORT=8085
|
||||
SOAP_PORT=7878
|
||||
|
||||
# ==============================================
|
||||
# DEPLOYMENT CONFIGURATION (REQUIRED)
|
||||
# ==============================================
|
||||
# Storage configuration (must match database layer)
|
||||
STORAGE_PATH=/nfs/containers/azerothcore
|
||||
|
||||
# ==============================================
|
||||
# CONTAINER NAMES (REQUIRED)
|
||||
# ==============================================
|
||||
# Core service container names
|
||||
CONTAINER_AUTHSERVER=ac-authserver
|
||||
CONTAINER_WORLDSERVER=ac-worldserver
|
||||
CONTAINER_CLIENT_DATA=ac-client-data
|
||||
|
||||
# Database container name (for external linking)
|
||||
CONTAINER_MYSQL=ac-mysql
|
||||
|
||||
# ==============================================
|
||||
# NETWORK SETTINGS (REQUIRED)
|
||||
# ==============================================
|
||||
# Network must already exist from database layer
|
||||
NETWORK_NAME=azerothcore
|
||||
|
||||
# ==============================================
|
||||
# CUSTOM MODULE SETTINGS
|
||||
# ==============================================
|
||||
# Playerbot settings
|
||||
PLAYERBOT_ENABLED=1
|
||||
PLAYERBOT_MAX_BOTS=40
|
||||
Reference in New Issue
Block a user