Add healthcheck for stirling-pdf
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user