From d8e802851d0cca35873cd2284e6941b01694e557 Mon Sep 17 00:00:00 2001 From: Simon L Date: Thu, 17 Aug 2023 14:15:04 +0200 Subject: [PATCH] mastercontainer - improve healthcheck Signed-off-by: Simon L --- Containers/mastercontainer/healthcheck.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Containers/mastercontainer/healthcheck.sh b/Containers/mastercontainer/healthcheck.sh index c3a5e3fd..e5d27771 100644 --- a/Containers/mastercontainer/healthcheck.sh +++ b/Containers/mastercontainer/healthcheck.sh @@ -1,5 +1,10 @@ #!/bin/bash if [ -f "/mnt/docker-aio-config/data/configuration.json" ]; then + nc -z localhost 80 || exit 1 + nc -z localhost 8000 || exit 1 nc -z localhost 8080 || exit 1 + nc -z localhost 8443 || exit 1 + nc -z localhost 9000 || exit 1 + nc -z localhost 9876 || exit 1 fi