Talk use netcat to check stun/turn port using domain

Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-04-08 13:25:40 +02:00 committed by GitHub
parent c5a1a00e38
commit ee5d9493de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"