diff --git a/roles/netbird/files/compose.yaml b/roles/netbird/files/compose.yaml index 3e897bf..63194a9 100644 --- a/roles/netbird/files/compose.yaml +++ b/roles/netbird/files/compose.yaml @@ -39,7 +39,7 @@ services: - /var/run/docker.sock:/var/run/docker.sock:ro - netbird_traefik_letsencrypt:/letsencrypt healthcheck: - test: ["CMD", "traefik", "healthcheck", "--ping"] + test: ["CMD", "traefik", "healthcheck", "--ping", "--ping.entrypoint=ping", "--entrypoints.ping.address=:8082"] interval: 5s timeout: 3s retries: 10 @@ -132,7 +132,7 @@ services: condition: service_started entrypoint: ["sleep", "infinity"] healthcheck: - test: ["CMD", "curl", "-fsS", "http://127.0.0.1:9000/health"] + test: ["CMD", "curl", "-fsS", "http://127.0.0.1:80/oauth2/.well-known/openid-configuration"] interval: 5s timeout: 3s retries: 12