mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 17:09:09 +00:00
1.9 KiB
1.9 KiB
Scripts Directory
This directory contains deployment and validation scripts for the AzerothCore Docker deployment.
Contents
deploy-and-check.sh- Automated deployment and comprehensive health check scriptcleanup.sh- Resource cleanup script with multiple cleanup levelsDEPLOYMENT.md- Complete documentation for the deployment scriptCLEANUP.md- Complete documentation for the cleanup script
Quick Usage
Run Health Check on Current Deployment
cd scripts
./deploy-and-check.sh --skip-deploy
Full Deployment with Health Checks
cd scripts
./deploy-and-check.sh
Quick Health Check (Basic Tests Only)
cd scripts
./deploy-and-check.sh --skip-deploy --quick-check
Cleanup Resources
cd scripts
# Stop containers only (safe)
./cleanup.sh --soft
# Remove containers + networks (preserves data)
./cleanup.sh --hard
# Complete removal (DESTROYS ALL DATA)
./cleanup.sh --nuclear
# Dry run to see what would happen
./cleanup.sh --hard --dry-run
Features
✅ Container Health Validation: Checks all 8 core containers ✅ Port Connectivity Tests: Validates all external ports ✅ Web Service Verification: HTTP response and content validation ✅ Database Validation: Schema and realm configuration checks ✅ Automated Deployment: Three-layer deployment (database → services → tools) ✅ Comprehensive Reporting: Color-coded status with detailed results
Variable Names Verified
The scripts validate the updated variable names:
MYSQL_EXTERNAL_PORT(wasDOCKER_DB_EXTERNAL_PORT)AUTH_EXTERNAL_PORT(wasDOCKER_AUTH_EXTERNAL_PORT)WORLD_EXTERNAL_PORT(wasDOCKER_WORLD_EXTERNAL_PORT)SOAP_EXTERNAL_PORT(wasDOCKER_SOAP_EXTERNAL_PORT)MYSQL_ROOT_PASSWORD(wasDOCKER_DB_ROOT_PASSWORD)
For complete documentation, see DEPLOYMENT.md.