fix(nginx): Docker-DNS-Resolver gegen 502 nach API-Recreate, Deploy prueft Health inhaltlich
This commit is contained in:
@@ -51,7 +51,8 @@ sleep 5
|
||||
"$PLINK" -batch -hostkey "$HOSTKEY" -i "$KEY" -P "$PORT" "$SERVER" "
|
||||
docker ps --filter name=mp- --format 'table {{.Names}}\t{{.Status}}' &&
|
||||
curl -s https://mieterportal.hocks.eu/ | grep -o 'index-[^\"]*\.js' | head -1 &&
|
||||
curl -s https://mieterportal.hocks.eu/api/healthz
|
||||
curl -sf https://mieterportal.hocks.eu/api/healthz | grep -q '\"datenbank\":true' &&
|
||||
echo 'API erreichbar (Health OK)' || echo 'WARNUNG: API-Healthcheck fehlgeschlagen (nginx ggf. neu starten: docker restart mp-portal)'
|
||||
"
|
||||
echo
|
||||
echo "Fertig: https://mieterportal.hocks.eu"
|
||||
|
||||
Reference in New Issue
Block a user