diff --git a/compose.yaml b/compose.yaml index c897df6..933bacd 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,9 +5,5 @@ services: - "8000:8000" environment: MONITOR_LOG_LEVEL: INFO - MONITOR_CHECK_TIMEOUT_SECONDS: "5" - healthcheck: - test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health/ready')"] - interval: 10s - timeout: 2s - retries: 3 + MONITOR_CHECK_TIMEOUT_SECONDS: 5 + restart: unless-stopped