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
This commit is contained in:
Claude
2026-02-23 18:42:30 +00:00
parent 8934d71391
commit 854261bf98
+1 -1
View File
@@ -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