healthcheck

This commit is contained in:
2026-08-09 16:12:34 +02:00
parent a877ae945d
commit ee760f9cb0
4 changed files with 102 additions and 0 deletions
+6
View File
@@ -13,3 +13,9 @@ services:
- DB_NAME=${DB_NAME}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:5000/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s