diff --git a/services/control-plane/docker-compose.yml b/services/control-plane/docker-compose.yml index c4307c3..b396c70 100644 --- a/services/control-plane/docker-compose.yml +++ b/services/control-plane/docker-compose.yml @@ -10,7 +10,7 @@ services: - /opt/homelab:/opt/homelab restart: unless-stopped healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8080/summary"] + test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/summary', timeout=3).read()"] interval: 30s timeout: 10s retries: 3