From 98c495b297d8e4e12583ffb986c5c35de063606d Mon Sep 17 00:00:00 2001 From: djkazic Date: Sat, 29 Jan 2022 10:41:46 -0600 Subject: [PATCH] Fix IP collision --- scripts/configure | 11 +++++++---- templates/.env-sample | 5 +++++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/scripts/configure b/scripts/configure index 34b280b..d8806a3 100755 --- a/scripts/configure +++ b/scripts/configure @@ -223,11 +223,11 @@ APP_BITFEED_IP="10.21.21.68" APP_BITFEED_PORT="8314" APP_BITFEED_API_IP="10.21.21.69" APP_BITFEED_API_PORT="8315" -APP_KOLLIDER_IP="10.21.21.69" -APP_KOLLIDER_WS_IP="10.21.21.70" -APP_KOLLIDER_WS_PORT="4244" -APP_KOLLIDER_HH_IP="10.21.21.71" +APP_KOLLIDER_IP="10.21.21.70" APP_KOLLIDER_PORT="4243" +APP_KOLLIDER_WS_IP="10.21.21.71" +APP_KOLLIDER_WS_PORT="4244" +APP_KOLLIDER_HH_IP="10.21.21.72" # Generate RPC credentials @@ -456,6 +456,9 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" " sed -i "s//${APP_BITFEED_API_PORT}/g" "${template}" sed -i "s//${APP_KOLLIDER_IP}/g" "${template}" sed -i "s//${APP_KOLLIDER_PORT}/g" "${template}" + sed -i "s//${APP_KOLLIDER_WS_IP}/g" "${template}" + sed -i "s//${APP_KOLLIDER_WS_PORT}/g" "${template}" + sed -i "s//${APP_KOLLIDER_HH_IP}/g" "${template}" done ########################################################## diff --git a/templates/.env-sample b/templates/.env-sample index 8d0f5d2..c4d32e7 100644 --- a/templates/.env-sample +++ b/templates/.env-sample @@ -123,3 +123,8 @@ APP_BITFEED_IP= APP_BITFEED_PORT= APP_BITFEED_API_IP= APP_BITFEED_API_PORT= +APP_KOLLIDER_IP= +APP_KOLLIDER_PORT= +APP_KOLLIDER_WS_IP= +APP_KOLLIDER_WS_PORT= +APP_KOLLIDER_HH_IP=