From 69e88b3b353f1a2ab7a78259b480e8afbd87669c Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Wed, 1 Apr 2026 17:46:47 +0900 Subject: fix: snapshot delay, env fields, alembic creds, API healthcheck and error handling --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docker-compose.yml') 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: -- cgit v1.2.3