Refactor healthcheck test in stirling-pdf.yaml

This commit is contained in:
Andras Bacsai
2024-10-24 09:37:22 +02:00
parent e9abb55673
commit c067f1aa1c
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ services:
- SERVICE_FQDN_SPDF_8080
- DOCKER_ENABLE_SECURITY=false
healthcheck:
test: 'curl --fail -I http://127.0.0.1:8080 || exit 1'
test: 'curl --fail --silent http://127.0.0.1:8080/api/v1/info/status | grep -q "UP" || exit 1'
interval: 5s
timeout: 20s
retries: 10