diff --git a/apps/usocial/docker-compose.yml b/apps/usocial/docker-compose.yml index 41ae1cd..3f9a58a 100644 --- a/apps/usocial/docker-compose.yml +++ b/apps/usocial/docker-compose.yml @@ -16,6 +16,9 @@ services: LND_IP: "${LND_IP}" LND_GRPC_PORT: ${LND_GRPC_PORT} LND_DIR: "/lnd" + networks: + default: + ipv4_address: $APP_USOCIAL_IP fetcher: depends_on: - web @@ -28,4 +31,4 @@ services: USOCIAL_JOB: "FETCH_FEEDS" networks: default: - ipv4_address: $APP_USOCIAL_IP + ipv4_address: $APP_USOCIAL_FETCHER_IP diff --git a/scripts/configure b/scripts/configure index 6cdafac..5857d58 100755 --- a/scripts/configure +++ b/scripts/configure @@ -241,6 +241,7 @@ APP_URBIT_PORT="8090" APP_URBIT_P2P_PORT="34343" APP_USOCIAL_IP="10.21.21.77" APP_USOCIAL_PORT="8448" +APP_USOCIAL_FETCHER_IP="10.21.21.78" APP_TAILSCALE_IP="10.21.21.80" APP_TAILSCALE_PORT="2100" @@ -484,6 +485,7 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" " sed -i "s//${APP_URBIT_P2P_PORT}/g" "${template}" sed -i "s//${APP_USOCIAL_IP}/g" "${template}" sed -i "s//${APP_USOCIAL_PORT}/g" "${template}" + sed -i "s//${APP_USOCIAL_FETCHER_IP}/g" "${template}" sed -i "s//${APP_TAILSCALE_IP}/g" "${template}" sed -i "s//${APP_TAILSCALE_PORT}/g" "${template}" done diff --git a/templates/.env-sample b/templates/.env-sample index 314f0b3..1b023f3 100644 --- a/templates/.env-sample +++ b/templates/.env-sample @@ -139,5 +139,6 @@ APP_URBIT_PORT= APP_URBIT_P2P_PORT= APP_USOCIAL_IP= APP_USOCIAL_PORT= +APP_USOCIAL_FETCHER_IP= APP_TAILSCALE_IP= APP_TAILSCALE_PORT= \ No newline at end of file