fixed coolify health checks
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user