mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-01-25 22:46:25 +00:00
bug fixes and volumes
This commit is contained in:
103
acore-full.yml
103
acore-full.yml
@@ -150,11 +150,14 @@ services:
|
||||
# Playerbots configuration
|
||||
PLAYERBOT_ENABLED: "${PLAYERBOT_ENABLED:-1}"
|
||||
PLAYERBOT_MAX_BOTS: "${PLAYERBOT_MAX_BOTS:-40}"
|
||||
# Logger configuration - Use defaults
|
||||
AC_LOG_LEVEL: "1"
|
||||
AC_LOGGER_ROOT_CONFIG: "1,Console"
|
||||
AC_LOGGER_SERVER_CONFIG: "1,Console"
|
||||
AC_APPENDER_CONSOLE_CONFIG: "1,2,0"
|
||||
# Logger configuration - Use config file defaults with proper log level
|
||||
AC_LOG_LEVEL: "2"
|
||||
# Commented out custom logger configs to use worldserver.conf defaults
|
||||
# AC_LOGGER_ROOT_CONFIG: "2,Console Server"
|
||||
# AC_LOGGER_SERVER_CONFIG: "4,Console Server"
|
||||
# AC_APPENDER_CONSOLE_CONFIG: "1,4,0"
|
||||
# AC_APPENDER_SERVER_CONFIG: "2,5,0,/azerothcore/logs/Server.log,w"
|
||||
# AC_APPENDER_ERRORS_CONFIG: "2,2,0,/azerothcore/logs/Errors.log,w"
|
||||
ports:
|
||||
- "${DOCKER_WORLD_EXTERNAL_PORT:-8215}:8085"
|
||||
- "${DOCKER_SOAP_EXTERNAL_PORT:-7778}:7878"
|
||||
@@ -486,104 +489,16 @@ services:
|
||||
ac-mysql:
|
||||
condition: service_healthy
|
||||
environment:
|
||||
DB_HOST: ac-mysql
|
||||
DB_PORT: 3306
|
||||
DB_USERNAME: root
|
||||
DB_PASSWORD: ${DOCKER_DB_ROOT_PASSWORD:-password}
|
||||
# External access configuration
|
||||
EXTERNAL_BASE_URL: ${EXTERNAL_BASE_URL:-}
|
||||
PMA_EXTERNAL_PORT: ${PMA_EXTERNAL_PORT:-8081}
|
||||
KEIRA3_EXTERNAL_PORT: ${KEIRA3_EXTERNAL_PORT:-4201}
|
||||
GF_EXTERNAL_PORT: ${GF_EXTERNAL_PORT:-3001}
|
||||
INFLUXDB_EXTERNAL_PORT: ${INFLUXDB_EXTERNAL_PORT:-8087}
|
||||
CMS_EXTERNAL_PORT: ${CMS_EXTERNAL_PORT:-8001}
|
||||
ports:
|
||||
- "${CMS_EXTERNAL_PORT:-8001}:80"
|
||||
volumes:
|
||||
- ac_cms_data:/usr/share/nginx/html
|
||||
command: >
|
||||
sh -c "
|
||||
cat > /usr/share/nginx/html/index.html <<EOF
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>AzerothCore Administration</title>
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; margin: 40px; background: #f5f5f5; }
|
||||
.container { max-width: 800px; margin: 0 auto; background: white; padding: 30px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
|
||||
h1 { color: #2c3e50; border-bottom: 3px solid #3498db; padding-bottom: 10px; }
|
||||
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }
|
||||
.service { background: #ecf0f1; padding: 20px; border-radius: 8px; text-align: center; }
|
||||
.service h3 { margin: 0 0 10px 0; color: #2c3e50; }
|
||||
.service a { color: #3498db; text-decoration: none; font-weight: bold; }
|
||||
.service a:hover { text-decoration: underline; }
|
||||
.status { margin: 20px 0; padding: 15px; background: #d5f4e6; border-left: 4px solid #27ae60; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class='container'>
|
||||
<h1>🏰 AzerothCore Administration Dashboard</h1>
|
||||
|
||||
<div class='status'>
|
||||
<strong>Server Status:</strong> ✅ Running<br>
|
||||
<strong>Database:</strong> ✅ Connected<br>
|
||||
<strong>Playerbots:</strong> ✅ Enabled (Max: 40)
|
||||
</div>
|
||||
|
||||
<div class='service-list'>
|
||||
<div class='service'>
|
||||
<h3>📊 Database Management</h3>
|
||||
<p>Full MySQL database access</p>
|
||||
<a href='#' id='phpmyadmin-link' target='_blank'>Open PHPMyAdmin</a>
|
||||
</div>
|
||||
|
||||
<div class='service'>
|
||||
<h3>⚙️ Database Editor</h3>
|
||||
<p>AzerothCore database interface</p>
|
||||
<a href='#' id='keira3-link' target='_blank'>Open Keira3</a>
|
||||
</div>
|
||||
|
||||
<div class='service'>
|
||||
<h3>📈 Server Monitoring</h3>
|
||||
<p>Performance and metrics dashboard</p>
|
||||
<a href='#' id='grafana-link' target='_blank'>Open Grafana</a>
|
||||
</div>
|
||||
|
||||
<div class='service'>
|
||||
<h3>💾 Database Metrics</h3>
|
||||
<p>Time-series database for monitoring</p>
|
||||
<a href='#' id='influxdb-link' target='_blank'>Open InfluxDB</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Build dynamic URLs from environment or current location
|
||||
const baseUrl = window.location.protocol + '//' + window.location.hostname;
|
||||
const ports = {
|
||||
phpmyadmin: '${PMA_EXTERNAL_PORT}',
|
||||
keira3: '${KEIRA3_EXTERNAL_PORT}',
|
||||
grafana: '${GF_EXTERNAL_PORT}',
|
||||
influxdb: '${INFLUXDB_EXTERNAL_PORT}'
|
||||
};
|
||||
|
||||
// Set up links
|
||||
document.getElementById('phpmyadmin-link').href = baseUrl + ':' + ports.phpmyadmin;
|
||||
document.getElementById('keira3-link').href = baseUrl + ':' + ports.keira3;
|
||||
document.getElementById('grafana-link').href = baseUrl + ':' + ports.grafana;
|
||||
document.getElementById('influxdb-link').href = baseUrl + ':' + ports.influxdb;
|
||||
</script>
|
||||
|
||||
<div style='margin-top: 30px; text-align: center; color: #7f8c8d;'>
|
||||
<p><strong>Game Server Connection:</strong></p>
|
||||
<p>Host: <code>localhost</code> | Auth Port: <code>3784</code> | World Port: <code>8215</code></p>
|
||||
<p>Database Port: <code>64306</code> | SOAP Port: <code>7778</code></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
EOF
|
||||
nginx -g 'daemon off;'
|
||||
"
|
||||
- ./assets/cms:/usr/share/nginx/html:ro
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- azerothcore
|
||||
|
||||
Reference in New Issue
Block a user