From 52ce7f4ae27f2cdecb6d8a7ec08688c0f64e9dc1 Mon Sep 17 00:00:00 2001 From: AaronDewes Date: Fri, 13 May 2022 21:39:56 +0000 Subject: [PATCH] Utilize IPv6 more internally Remove IPv4 from the dashboard --- docker-compose.yml | 2 -- scripts/configure | 1 - templates/.env-sample | 1 - templates/nginx-sample.conf | 4 ++-- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 235e90b..9f295ca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -118,8 +118,6 @@ services: restart: on-failure stop_grace_period: 1m30s networks: - default: - ipv4_address: $DASHBOARD_IP ipv6: ipv6_address: $DASHBOARD_IP6 manager: diff --git a/scripts/configure b/scripts/configure index 148d86c..ee5cd1d 100755 --- a/scripts/configure +++ b/scripts/configure @@ -255,7 +255,6 @@ if BITCOIN_NETWORK == "testnet": NETWORK_IP="10.21.21.0" GATEWAY_IP="10.21.21.1" NGINX_IP="10.21.21.2" -DASHBOARD_IP="10.21.21.3" MANAGER_IP="10.21.21.4" MIDDLEWARE_IP="10.21.21.5" NEUTRINO_SWITCHER_IP="10.21.21.6" diff --git a/templates/.env-sample b/templates/.env-sample index 21104e1..b43c0d3 100644 --- a/templates/.env-sample +++ b/templates/.env-sample @@ -10,7 +10,6 @@ GATEWAY_IP= NGINX_IP= NGINX_PORT= NGINX_SSL_PORT= -DASHBOARD_IP= DASHBOARD_NEW_IP= MANAGER_IP= MIDDLEWARE_IP= diff --git a/templates/nginx-sample.conf b/templates/nginx-sample.conf index 6e24277..92af3d8 100644 --- a/templates/nginx-sample.conf +++ b/templates/nginx-sample.conf @@ -23,11 +23,11 @@ http { listen 80; location /api/ { - proxy_pass http://:3005/; + proxy_pass http://[]:3005/; } location /manager-api/ { - proxy_pass http://:3006/; + proxy_pass http://[]:3006/; } # dashboard (old)