From 55227d245ed9c757648c4f5e08695751650d6d29 Mon Sep 17 00:00:00 2001 From: ryuupendragon Date: Wed, 16 Jul 2025 22:54:51 +0530 Subject: [PATCH] Add healthcheck for stirling-pdf --- stirling-pdf/docker-compose.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stirling-pdf/docker-compose.yml b/stirling-pdf/docker-compose.yml index 97ba28c..8ee865c 100644 --- a/stirling-pdf/docker-compose.yml +++ b/stirling-pdf/docker-compose.yml @@ -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