feat: add /health endpoint and Docker healthcheck

This commit is contained in:
Julien Calixte
2026-03-17 02:21:24 +01:00
parent 98d76c24ee
commit 282b797206
2 changed files with 10 additions and 0 deletions

View File

@@ -14,6 +14,12 @@ services:
- "8080"
volumes:
- ${DATA_VOLUME:-data}:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 10m
timeout: 5s
retries: 3
start_period: 15s
volumes:
data: