Add healthcheck for backend service in docker-compose.yml

This commit is contained in:
Marco Pedone 2025-08-04 17:59:36 +02:00
parent d1365ba5c5
commit 2adb9e1606

View file

@ -110,6 +110,11 @@ services:
PGPORT: "5432"
IMAGEOPTION: "true"
CONCURRENT_IMAGES: ${CONCURRENT_IMAGES}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:1323/"]
interval: 10s
timeout: 5s
retries: 5
depends_on:
minio:
condition: service_healthy