chore: add healthcheck probe to prod docker-compose app service

This commit is contained in:
Charles GTE
2026-05-17 09:35:01 +02:00
parent 1f68adda90
commit 2eb4a7a0fe
+6
View File
@@ -17,6 +17,12 @@ services:
db:
condition: service_healthy
container_name: portabase-app-prod
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:80/api/health || exit 1"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
db:
image: postgres:16-alpine