mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-18 03:05:43 +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-tools
Normal file
89
.env-tools
Normal file
@@ -0,0 +1,89 @@
|
||||
# ==============================================
|
||||
# AZEROTHCORE TOOLS ENVIRONMENT CONFIGURATION
|
||||
# ==============================================
|
||||
# Configuration for web interfaces and monitoring tools
|
||||
# This connects to the core AzerothCore database
|
||||
|
||||
# ==============================================
|
||||
# DATABASE CONNECTION (REQUIRED)
|
||||
# ==============================================
|
||||
# Connect to core AzerothCore database
|
||||
DOCKER_DB_ROOT_PASSWORD=azerothcore123
|
||||
|
||||
# Database connection for tools (connects to core stack)
|
||||
# Use host.docker.internal for Docker Desktop or actual server IP
|
||||
MYSQL_HOST=host.docker.internal
|
||||
MYSQL_PORT=64306
|
||||
|
||||
# ==============================================
|
||||
# TOOL STORAGE PATHS (REQUIRED)
|
||||
# ==============================================
|
||||
# Storage for tools (separate from core stack)
|
||||
STORAGE_PATH_TOOLS=/nfs/containers-tools
|
||||
|
||||
# ==============================================
|
||||
# NETWORK CONFIGURATION (REQUIRED)
|
||||
# ==============================================
|
||||
TOOLS_NETWORK_NAME=azerothcore-tools
|
||||
TOOLS_NETWORK_SUBNET=172.21.0.0/16
|
||||
TOOLS_NETWORK_GATEWAY=172.21.0.1
|
||||
|
||||
# ==============================================
|
||||
# WEB INTERFACE PORTS (REQUIRED)
|
||||
# ==============================================
|
||||
# PHPMyAdmin settings
|
||||
PMA_HOST=host.docker.internal
|
||||
PMA_PORT=64306
|
||||
PMA_USER=root
|
||||
PMA_EXTERNAL_PORT=8081
|
||||
PMA_ARBITRARY=1
|
||||
PMA_ABSOLUTE_URI=
|
||||
PMA_UPLOAD_LIMIT=300M
|
||||
PMA_MEMORY_LIMIT=512M
|
||||
PMA_MAX_EXECUTION_TIME=600
|
||||
|
||||
# Keira3 Database Editor settings
|
||||
KEIRA3_EXTERNAL_PORT=4201
|
||||
KEIRA_DATABASE_HOST=host.docker.internal
|
||||
KEIRA_DATABASE_PORT=64306
|
||||
|
||||
# Grafana settings
|
||||
GF_EXTERNAL_PORT=3001
|
||||
GF_SECURITY_ADMIN_USER=admin
|
||||
GF_SECURITY_ADMIN_PASSWORD=acore123
|
||||
GF_SERVER_ROOT_URL=http://localhost:3001
|
||||
GF_INSTALL_PLUGINS=grafana-piechart-panel
|
||||
# Security settings
|
||||
GF_SECURITY_DISABLE_INITIAL_ADMIN_CREATION=false
|
||||
GF_SECURITY_SECRET_KEY=
|
||||
GF_USERS_ALLOW_SIGN_UP=false
|
||||
GF_USERS_ALLOW_ORG_CREATE=false
|
||||
GF_AUTH_ANONYMOUS_ENABLED=false
|
||||
GF_SERVER_ENABLE_GZIP=true
|
||||
GF_SECURITY_COOKIE_SECURE=false
|
||||
GF_SECURITY_COOKIE_SAMESITE=lax
|
||||
|
||||
# InfluxDB settings
|
||||
INFLUXDB_EXTERNAL_PORT=8087
|
||||
INFLUXDB_INIT_MODE=setup
|
||||
INFLUXDB_ADMIN_USER=acore
|
||||
INFLUXDB_ADMIN_PASSWORD=acore123
|
||||
INFLUXDB_ORG=azerothcore
|
||||
INFLUXDB_BUCKET=metrics
|
||||
INFLUXDB_TOKEN=acore-monitoring-token-12345
|
||||
# Security settings
|
||||
INFLUXDB_HTTP_AUTH_ENABLED=true
|
||||
INFLUXDB_HTTP_HTTPS_ENABLED=false
|
||||
|
||||
# ==============================================
|
||||
# DEPLOYMENT CONFIGURATION (REQUIRED)
|
||||
# ==============================================
|
||||
# Deployment mode for tools
|
||||
DEPLOYMENT_MODE=tools
|
||||
|
||||
# Use separate storage for tools
|
||||
USE_NAMED_VOLUMES=false
|
||||
|
||||
# ==============================================
|
||||
# END OF TOOLS CONFIGURATION
|
||||
# ==============================================
|
||||
Reference in New Issue
Block a user