feat: add healthz endpoint (#494)

This commit is contained in:
Alessandro (Ale) Segala
2025-05-06 22:14:18 +02:00
committed by GitHub
parent c55fef057c
commit 3c87e4ec14
6 changed files with 66 additions and 34 deletions
+2 -2
View File
@@ -7,9 +7,9 @@ services:
- 3000:80
volumes:
- "./data:/app/backend/data"
# Optional healthcheck
# Optional healthcheck
healthcheck:
test: "curl -f http://localhost/health"
test: "curl -f http://localhost/healthz"
interval: 1m30s
timeout: 5s
retries: 2