mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-13 00:58:34 +00:00
fix container startup
This commit is contained in:
@@ -11,6 +11,24 @@ STORAGE_ROOT=./storage
|
||||
# Storage configuration (must match database layer)
|
||||
STORAGE_PATH=${STORAGE_ROOT}/azerothcore
|
||||
|
||||
# ==============================================
|
||||
# NETWORK CONFIGURATION
|
||||
# ==============================================
|
||||
# External ports for game services
|
||||
AUTH_EXTERNAL_PORT=3784
|
||||
WORLD_EXTERNAL_PORT=8215
|
||||
SOAP_EXTERNAL_PORT=7778
|
||||
|
||||
# Server address for client connections (production)
|
||||
SERVER_ADDRESS=192.168.0.188
|
||||
# Use WORLD_EXTERNAL_PORT for realmlist (client connection port)
|
||||
REALM_PORT=8215
|
||||
|
||||
# Internal ports (container side)
|
||||
AUTH_PORT=3724
|
||||
WORLD_PORT=8085
|
||||
SOAP_PORT=7878
|
||||
|
||||
# ==============================================
|
||||
# DATABASE CONNECTION
|
||||
# ==============================================
|
||||
@@ -57,24 +75,6 @@ WORLD_HEALTHCHECK_TIMEOUT=10s
|
||||
WORLD_HEALTHCHECK_RETRIES=3
|
||||
WORLD_HEALTHCHECK_START_PERIOD=120s
|
||||
|
||||
# ==============================================
|
||||
# NETWORK CONFIGURATION
|
||||
# ==============================================
|
||||
# External ports for game services
|
||||
AUTH_EXTERNAL_PORT=3784
|
||||
WORLD_EXTERNAL_PORT=8215
|
||||
SOAP_EXTERNAL_PORT=7778
|
||||
|
||||
# Server address for client connections (production)
|
||||
SERVER_ADDRESS=192.168.0.188
|
||||
# Use WORLD_EXTERNAL_PORT for realmlist (client connection port)
|
||||
REALM_PORT=8215
|
||||
|
||||
# Internal ports (container side)
|
||||
AUTH_PORT=3724
|
||||
WORLD_PORT=8085
|
||||
SOAP_PORT=7878
|
||||
|
||||
# ==============================================
|
||||
# CONTAINER NAMES
|
||||
# ==============================================
|
||||
|
||||
@@ -1125,15 +1125,12 @@ services:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
# Install bash first
|
||||
echo "📦 Installing bash..."
|
||||
apk add --no-cache bash
|
||||
# Install required packages
|
||||
echo "📦 Installing required packages..."
|
||||
apk add --no-cache bash curl
|
||||
|
||||
# Download post-install script from GitHub (fallback to local for testing)
|
||||
echo "📥 Downloading auto post-install script..."
|
||||
echo "🔍 Checking project directory contents:"
|
||||
ls -la /project/scripts/ || echo "❌ /project/scripts/ not found"
|
||||
|
||||
if curl -fsSL https://raw.githubusercontent.com/uprightbass360/acore-compose/main/scripts/auto-post-install.sh -o /tmp/auto-post-install.sh 2>/dev/null; then
|
||||
echo "✅ Downloaded from GitHub"
|
||||
elif [ -f "/project/scripts/auto-post-install.sh" ]; then
|
||||
@@ -1145,8 +1142,14 @@ services:
|
||||
ls -la /tmp/auto-post-install.sh
|
||||
else
|
||||
echo "❌ Script not found in GitHub or locally"
|
||||
echo "🔍 Available files in /project/scripts/:"
|
||||
ls -la /project/scripts/ || echo "Directory not accessible"
|
||||
echo "🔍 Debugging information:"
|
||||
echo " Project directory mount status:"
|
||||
ls -la /project/ || echo " ❌ /project/ not accessible"
|
||||
echo " Scripts directory status:"
|
||||
ls -la /project/scripts/ || echo " ❌ /project/scripts/ not found"
|
||||
echo " Current working directory: $(pwd)"
|
||||
echo " Available volumes:"
|
||||
df -h || echo " ❌ Cannot check volumes"
|
||||
exit 1
|
||||
fi
|
||||
chmod +x /tmp/auto-post-install.sh
|
||||
|
||||
Reference in New Issue
Block a user