Remove grafana/influxdb processes and docs

This commit is contained in:
Deckard
2025-10-03 13:52:35 -04:00
parent b5ef1d8a61
commit beafe708e2
4 changed files with 10 additions and 28 deletions

View File

@@ -113,10 +113,10 @@ acore-compose/
├── docker-compose-azerothcore-services.env # Services configuration
├── docker-compose-azerothcore-tools.env # Tools configuration
├── docker-compose-azerothcore-optional.env # Optional services config
├── scripts/ # Deployment, cleanup, and backup automation
├── storage/ # Unified storage root (configurable via STORAGE_ROOT)
── azerothcore/ # All persistent data (database, configs, tools)
── backups/ # Database backups
├── scripts/ # Deployment, cleanup, and backup automation
├── storage/ # Unified storage root (configurable via STORAGE_ROOT)
── azerothcore/ # All persistent data (database, configs, tools)
│ └── backups/ # Database backups
└── readme.md # This documentation
```

View File

@@ -56,21 +56,17 @@ cd scripts
-**ac-worldserver**: Game world server
-**ac-phpmyadmin**: Database management interface
-**ac-keira3**: Database editor
-**ac-grafana**: Monitoring dashboard
-**ac-influxdb**: Metrics database
### Port Connectivity Tests
- **Database Layer**: MySQL (64306)
- **Services Layer**: Auth Server (3784), World Server (8215), SOAP API (7778)
- **Tools Layer**: PHPMyAdmin (8081), Keira3 (4201), Grafana (3001), InfluxDB (8087)
- **Tools Layer**: PHPMyAdmin (8081), Keira3 (4201)
### Web Service Health Checks (Full Mode Only)
### Web Service Health Checks
- **PHPMyAdmin**: HTTP response and content verification
- **Keira3**: Health endpoint and content verification
- **Grafana**: API health check
- **InfluxDB**: Health endpoint validation
### Database Validation (Full Mode Only)
### Database Validation
- **Schema Verification**: Confirms all required databases exist
- **Realm Configuration**: Validates realm setup
@@ -79,8 +75,6 @@ cd scripts
### Web Interfaces
- 🌐 **PHPMyAdmin**: http://localhost:8081
- 🛠️ **Keira3**: http://localhost:4201
- 📊 **Grafana**: http://localhost:3001
- 📈 **InfluxDB**: http://localhost:8087
### Game Connections
- 🎮 **Game Server**: localhost:8215
@@ -89,8 +83,6 @@ cd scripts
- 🗄️ **MySQL**: localhost:64306
### Default Credentials
- **Grafana**: admin / acore123
- **InfluxDB**: acore / acore123
- **MySQL**: root / azerothcore123
## Deployment Process
@@ -113,8 +105,6 @@ The script follows this deployment sequence:
### 3. Tools Layer
- Deploys PHPMyAdmin database interface
- Deploys Keira3 database editor
- Deploys Grafana monitoring
- Deploys InfluxDB metrics database
## Troubleshooting

View File

@@ -165,7 +165,7 @@ show_current_resources() {
fi
echo -e "${BLUE}Images:${NC}"
if docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | grep -E "acore|azerothcore|phpmyadmin|grafana|influxdb|keira3" | head -10; then
if docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" | grep -E "acore|azerothcore|phpmyadmin|keira3" | head -10; then
echo ""
else
echo " No AzerothCore-related images found"
@@ -258,7 +258,7 @@ nuclear_cleanup() {
"docker images --format '{{.Repository}}:{{.Tag}}' | grep -E '^acore/' | xargs -r docker rmi"
execute_command "Remove related tool images" \
"docker images --format '{{.Repository}}:{{.Tag}}' | grep -E 'phpmyadmin|grafana|influxdb|uprightbass360/keira3' | xargs -r docker rmi"
"docker images --format '{{.Repository}}:{{.Tag}}' | grep -E 'phpmyadmin|uprightbass360/keira3' | xargs -r docker rmi"
# Clean up local data directories
execute_command "Remove local data directories" \

View File

@@ -200,7 +200,7 @@ perform_health_checks() {
print_status "HEADER" "CONTAINER HEALTH STATUS"
# Check all containers
local containers=("ac-mysql" "ac-backup" "ac-authserver" "ac-worldserver" "ac-phpmyadmin" "ac-keira3" "ac-grafana" "ac-influxdb")
local containers=("ac-mysql" "ac-backup" "ac-authserver" "ac-worldserver" "ac-phpmyadmin" "ac-keira3")
local container_failures=0
for container in "${containers[@]}"; do
@@ -232,8 +232,6 @@ perform_health_checks() {
print_status "INFO" "Tools Layer:"
if ! check_port 8081 "PHPMyAdmin"; then ((port_failures++)); fi
if ! check_port 4201 "Keira3"; then ((port_failures++)); fi
if ! check_port 3001 "Grafana"; then ((port_failures++)); fi
if ! check_port 8087 "InfluxDB"; then ((port_failures++)); fi
if [ "$QUICK_CHECK" = false ]; then
print_status "HEADER" "WEB SERVICE HEALTH CHECKS"
@@ -241,8 +239,6 @@ perform_health_checks() {
local web_failures=0
if ! check_web_service "http://localhost:8081/" "PHPMyAdmin" "phpMyAdmin"; then ((web_failures++)); fi
if ! check_web_service "http://localhost:4201/health" "Keira3" "healthy"; then ((web_failures++)); fi
if ! check_web_service "http://localhost:3001/api/health" "Grafana" "database.*ok"; then ((web_failures++)); fi
if ! check_web_service "http://localhost:8087/health" "InfluxDB" "ready for queries"; then ((web_failures++)); fi
print_status "HEADER" "DATABASE CONNECTIVITY TEST"
@@ -274,16 +270,12 @@ perform_health_checks() {
print_status "INFO" "Available services:"
echo " 🌐 PHPMyAdmin: http://localhost:8081"
echo " 🛠️ Keira3: http://localhost:4201"
echo " 📊 Grafana: http://localhost:3001"
echo " 📈 InfluxDB: http://localhost:8087"
echo " 🎮 Game Server: localhost:8215"
echo " 🔐 Auth Server: localhost:3784"
echo " 🔧 SOAP API: localhost:7778"
echo " 🗄️ MySQL: localhost:64306"
echo ""
print_status "INFO" "Default credentials:"
echo " 📊 Grafana: admin / acore123"
echo " 📈 InfluxDB: acore / acore123"
echo " 🗄️ MySQL: root / azerothcore123"
return 0
else