Update stirling-pdf.yaml

The service works fine now but shows up as Running (unhealthy). Adding a check on its main page on port 8080 makes it healthy.
This commit is contained in:
Gionata Mettifogo 2024-04-04 08:38:53 +02:00 committed by GitHub
parent 74e3524e92
commit cdb3d863db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,3 +15,8 @@ services:
environment: environment:
- SERVICE_FQDN_SPDF_8080 - SERVICE_FQDN_SPDF_8080
- DOCKER_ENABLE_SECURITY=false - DOCKER_ENABLE_SECURITY=false
healthcheck:
test: 'curl --fail -I http://localhost:8080 || exit 1'
interval: 5s
timeout: 20s
retries: 10