add health check endpoint
This commit is contained in:
1 parent
67545cfbd9
commit
52352dd943
5 files changed
+54
-2
No files matched your search
@@ -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}
|
||||
Reference in new issue
Block a user