feat: add healthcheck endpoint

This commit is contained in:
2026-01-13 14:52:57 +01:00
parent 5ffbc2e3d3
commit 352212c0e0
3 changed files with 21 additions and 0 deletions

View File

@@ -9,3 +9,8 @@ services:
- ./data:/app/data
- ./public/uploads:/app/public/uploads
restart: always
healthcheck:
test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health" ]
interval: 30s
timeout: 10s
retries: 3