fixed coolify health checks

This commit is contained in:
2026-04-21 12:22:49 +02:00
parent 6347b53863
commit 8f2455026d
8 changed files with 52 additions and 6 deletions

View File

@@ -325,7 +325,7 @@ docker compose restart
# health-check.sh erstellen
cat > health-check.sh << 'EOF'
#!/bin/bash
if curl -s -o /dev/null -w "%{http_code}" http://localhost:8000/login | grep -q "200"; then
if curl -s -o /dev/null -w "%{http_code}" http://localhost:8001/health | grep -q "200"; then
echo "$(date): OK"
else
echo "$(date): FEHLER - Neustart..."