diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 6514fe6..ac64264 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -42,7 +42,7 @@ services: networks: - homelab-network healthcheck: - test: ["CMD", "curl", "-f", "http://homelab-dashboard:7070/api/health"] + test: ["CMD", "sh", "-c", "curl -f -H \"X-API-Key: ${API_KEY:-dev-key-12345}\" http://localhost:8008/api/health"] interval: 30s timeout: 10s retries: 3