Browse Source

Fix IP collision

kollider-tor
djkazic 3 years ago
parent
commit
98c495b297
  1. 11
      scripts/configure
  2. 5
      templates/.env-sample

11
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>/${APP_BITFEED_API_PORT}/g" "${template}"
sed -i "s/<app-kollider-ip>/${APP_KOLLIDER_IP}/g" "${template}"
sed -i "s/<app-kollider-port>/${APP_KOLLIDER_PORT}/g" "${template}"
sed -i "s/<app-kollider-ws-ip>/${APP_KOLLIDER_WS_IP}/g" "${template}"
sed -i "s/<app-kollider-ws-port>/${APP_KOLLIDER_WS_PORT}/g" "${template}"
sed -i "s/<app-kollider-hh-ip>/${APP_KOLLIDER_HH_IP}/g" "${template}"
done
##########################################################

5
templates/.env-sample

@ -123,3 +123,8 @@ APP_BITFEED_IP=<app-bitfeed-ip>
APP_BITFEED_PORT=<app-bitfeed-port>
APP_BITFEED_API_IP=<app-bitfeed-api-ip>
APP_BITFEED_API_PORT=<app-bitfeed-api-port>
APP_KOLLIDER_IP=<app-kollider-ip>
APP_KOLLIDER_PORT=<app-kollider-port>
APP_KOLLIDER_WS_IP=<app-kollider-ws-ip>
APP_KOLLIDER_WS_PORT=<app-kollider-ws-port>
APP_KOLLIDER_HH_IP=<app-kollider-hh-ip>

Loading…
Cancel
Save