feat: add db-restore, maintenance, doctor scripts and update dashboard
CI / check (push) Successful in 4m7s
CI / deploy (push) Successful in 19s
CI / publish-container (push) Successful in 1m19s

This commit is contained in:
openhands committed 2026-09-13 21:15:14 +02:00
1 parent a605807c69
commit bd977da3a5
4 files changed
+55

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
# System diagnostic tool
echo "=== Doctor Report ==="
echo "Checking Docker..."
docker ps > /dev/null || echo "Error: Docker not running."
echo "Checking port 3002..."
if lsof -i :3002 > /dev/null; then echo "Port 3002 is in use."; else echo "Port 3002 is free."; fi
echo "Checking .env..."
if [ -f .env ]; then echo ".env exists."; else echo "Error: .env missing."; fi
echo "Checking health..."
if curl -s http://localhost:3002/api/health > /dev/null; then echo "Health endpoint OK."; else echo "Health endpoint failing."; fi
echo "Disk usage:"
df -h / | tail -n 1