add health check endpoint

This commit is contained in:
dreamer committed 2026-10-19 13:35:06 +02:00
1 parent 67545cfbd9
commit 52352dd943
5 files changed
+54 -2

No files matched your search

+6
View File
@@ -5,5 +5,11 @@ services:
dockerfile: docker/Dockerfile
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
environment:
SQL_FILE_NAME: ${SQL_FILE_NAME:-/data/app.db}