From 854261bf987cb34864f6e0ef61a43b9f6e122460 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Feb 2026 18:42:30 +0000 Subject: [PATCH] Fix coturn healthcheck: use netstat instead of ss The coturn/coturn Docker image is Alpine-based and doesn't include iproute2 (which provides ss). This caused the healthcheck to fail immediately, marking coturn as unhealthy and preventing the asterisk container from starting due to its service_healthy dependency. Alpine's busybox includes netstat, so use that instead. https://claude.ai/code/session_01Vm6NLaQuzM4VosAotqS1q8 --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 52d8031..233c64a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -101,7 +101,7 @@ services: exec turnserver $$ARGS restart: unless-stopped healthcheck: - test: ["CMD-SHELL", "ss -uln | grep -q ':3478'"] + test: ["CMD-SHELL", "netstat -uln | grep -q ':3478'"] interval: 30s timeout: 5s retries: 3