summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:46:47 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-04-01 17:46:47 +0900
commit69e88b3b353f1a2ab7a78259b480e8afbd87669c (patch)
tree712de7c4dd0bd16ba853a77d012ebed7c57d91c7 /docker-compose.yml
parent678005dc51892c4c1f4cea2730bbf0ec4ebc312d (diff)
fix: snapshot delay, env fields, alembic creds, API healthcheck and error handling
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 1b72e8d..e981f74 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -115,6 +115,11 @@ services:
condition: service_healthy
postgres:
condition: service_healthy
+ healthcheck:
+ test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"]
+ interval: 10s
+ timeout: 5s
+ retries: 3
restart: unless-stopped
loki: