From ae2d269409ad2f41b3adf7f6995b65efa1a631a1 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 21 Apr 2023 08:26:51 +0200 Subject: [PATCH] Store IP --- run/network.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run/network.sh b/run/network.sh index 988af56..11999f5 100644 --- a/run/network.sh +++ b/run/network.sh @@ -179,6 +179,9 @@ else # Configuration for DHCP IP configureDHCP + # Store IP for Docker healthcheck + echo "${DHCP_IP}" > "/var/dsm.ip" + # Display the received IP on port 5000 /run/server.sh 5000 "The location of DSM is http://${DHCP_IP}:5000" > /dev/null &