diff options
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: |
