From 4305062e78034773dba7a765d2e4bd20fd851e59 Mon Sep 17 00:00:00 2001 From: Emre <54602437+EmrePiconbello@users.noreply.github.com> Date: Thu, 5 Dec 2024 00:59:42 +0000 Subject: [PATCH] Getting rid of host network Decreasing surface level for any possible issues in the future while maintaining exact same functionality. --- scripts/update_version_mainnet_7_1_8_rpc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update_version_mainnet_7_1_8_rpc.sh b/scripts/update_version_mainnet_7_1_8_rpc.sh index 85c0683f..7a27f4c7 100644 --- a/scripts/update_version_mainnet_7_1_8_rpc.sh +++ b/scripts/update_version_mainnet_7_1_8_rpc.sh @@ -62,6 +62,7 @@ binary_upgrade(){ GROUP_ID=$(id -g) if ! docker run --name "supra_rpc_mainnet_$ip_address" \ + -p 30000:30000 \ -v $HOST_SUPRA_HOME:/supra/configs \ --user "$USER_ID:$GROUP_ID" \ -e "SUPRA_HOME=/supra/configs" \ @@ -69,7 +70,6 @@ binary_upgrade(){ -e "SUPRA_MAX_LOG_FILE_SIZE=400000000" \ -e "SUPRA_MAX_UNCOMPRESSED_LOGS=5" \ -e "SUPRA_MAX_LOG_FILES=20" \ - --net=host \ -itd $NEW_RPC_IMAGE_NAME; then echo "Failed to run new RPC Node container $NEW_RPC_IMAGE_NAME image. Exiting..." exit 1 @@ -228,4 +228,4 @@ while true; do ;; esac echo "" -done \ No newline at end of file +done