diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:46:47 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-01 17:46:47 +0900 |
| commit | 69e88b3b353f1a2ab7a78259b480e8afbd87669c (patch) | |
| tree | 712de7c4dd0bd16ba853a77d012ebed7c57d91c7 /docker-compose.yml | |
| parent | 678005dc51892c4c1f4cea2730bbf0ec4ebc312d (diff) | |
fix: snapshot delay, env fields, alembic creds, API healthcheck and error handling
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 5 |
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: |
