Add healthcheck for stirling-pdf

This commit is contained in:
2025-07-16 22:54:51 +05:30
parent 0a956ac586
commit 55227d245e

View File

@@ -27,3 +27,10 @@ services:
# Network configuration
ports:
- ${PORT}:8080 # Web interface port
# Health check configuration
healthcheck:
test: [ "CMD-SHELL", "curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP'" ]
interval: 5s
timeout: 10s
retries: 5