diff --git a/docker-compose.yml b/docker-compose.yml index 10cddf8..236c2d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,7 +32,7 @@ services: - RAG_AUTOSAVE_INTERVAL=${RAG_AUTOSAVE_INTERVAL:-600} - LOG_LEVEL=${LOG_LEVEL:-INFO} healthcheck: - test: ["CMD", "python", "-c", "import urllib.request, os; req = urllib.request.Request('http://localhost:8000/api/v1/health'); req.add_header('X-API-Key', os.getenv('RAG_API_KEY', '')); urllib.request.urlopen(req)"] + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/health')"] interval: 30s timeout: 10s retries: 3