From ee5d9493de1d5ac8f32b28e989203a29de7ef53c Mon Sep 17 00:00:00 2001 From: Zoey Date: Sat, 8 Apr 2023 13:25:40 +0200 Subject: [PATCH] Talk use netcat to check stun/turn port using domain Signed-off-by: Zoey --- Containers/talk/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Containers/talk/Dockerfile b/Containers/talk/Dockerfile index 59ef714a..5a5b48a2 100644 --- a/Containers/talk/Dockerfile +++ b/Containers/talk/Dockerfile @@ -67,5 +67,5 @@ USER talk ENTRYPOINT ["start.sh"] CMD ["/usr/bin/supervisord", "-c", "/supervisord.conf"] -HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost $TALK_PORT) || exit 1 +HEALTHCHECK CMD (nc -z localhost 8081 && nc -z localhost 8188 && nc -z localhost 4222 && nc -z localhost "$TALK_PORT" && nc -z "$NC_DOMAIN" "$TALK_PORT") || exit 1 LABEL com.centurylinklabs.watchtower.monitor-only="true"