From 8f0582085a2ba6542c695ee777085990574a6f0a Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Tue, 28 Nov 2023 14:43:48 +0530 Subject: [PATCH] fix: install wget to derive public IP automatically --- run_node.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/run_node.sh b/run_node.sh index a4c9a75..4e11bc9 100644 --- a/run_node.sh +++ b/run_node.sh @@ -7,6 +7,8 @@ if [ -z "${ETH_CLIENT_ADDRESS}" ]; then exit 1 fi +apt install -y wget + MY_EXT_IP=$(wget -qO- https://api4.ipify.org) DNS_WSS_CMD= @@ -83,6 +85,7 @@ exec /usr/bin/waku\ --metrics-server-port=8003\ --metrics-server-address=0.0.0.0\ --rest=true\ + --rest-admin=false\ --rest-address=0.0.0.0\ --rest-port=8645\ --nat=extip:"${MY_EXT_IP}"\