diff --git a/docker-compose.yml b/docker-compose.yml index e109eb9..86a1cfb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,8 +12,8 @@ services: - .env restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"] + test: ["CMD", "python", "-c", "from urllib.request import urlopen; urlopen('http://localhost:8000/admin/api/health', timeout=5).read()"] interval: 30s timeout: 10s retries: 3 - start_period: 10s \ No newline at end of file + start_period: 10s