Utilize IPv6 more internally

Remove IPv4 from the dashboard
This commit is contained in:
AaronDewes 2022-05-13 21:39:56 +00:00
parent e1af6de6b7
commit 52ce7f4ae2
4 changed files with 2 additions and 6 deletions

View File

@ -118,8 +118,6 @@ services:
restart: on-failure restart: on-failure
stop_grace_period: 1m30s stop_grace_period: 1m30s
networks: networks:
default:
ipv4_address: $DASHBOARD_IP
ipv6: ipv6:
ipv6_address: $DASHBOARD_IP6 ipv6_address: $DASHBOARD_IP6
manager: manager:

1
scripts/configure vendored
View File

@ -255,7 +255,6 @@ if BITCOIN_NETWORK == "testnet":
NETWORK_IP="10.21.21.0" NETWORK_IP="10.21.21.0"
GATEWAY_IP="10.21.21.1" GATEWAY_IP="10.21.21.1"
NGINX_IP="10.21.21.2" NGINX_IP="10.21.21.2"
DASHBOARD_IP="10.21.21.3"
MANAGER_IP="10.21.21.4" MANAGER_IP="10.21.21.4"
MIDDLEWARE_IP="10.21.21.5" MIDDLEWARE_IP="10.21.21.5"
NEUTRINO_SWITCHER_IP="10.21.21.6" NEUTRINO_SWITCHER_IP="10.21.21.6"

View File

@ -10,7 +10,6 @@ GATEWAY_IP=<gateway-ip>
NGINX_IP=<nginx-ip> NGINX_IP=<nginx-ip>
NGINX_PORT=<nginx-port> NGINX_PORT=<nginx-port>
NGINX_SSL_PORT=<nginx-ssl-port> NGINX_SSL_PORT=<nginx-ssl-port>
DASHBOARD_IP=<dashboard-ip>
DASHBOARD_NEW_IP=<dashboard-new-ip> DASHBOARD_NEW_IP=<dashboard-new-ip>
MANAGER_IP=<manager-ip> MANAGER_IP=<manager-ip>
MIDDLEWARE_IP=<middleware-ip> MIDDLEWARE_IP=<middleware-ip>

View File

@ -23,11 +23,11 @@ http {
listen 80; listen 80;
location /api/ { location /api/ {
proxy_pass http://<middleware-ip>:3005/; proxy_pass http://[<middleware-ip6>]:3005/;
} }
location /manager-api/ { location /manager-api/ {
proxy_pass http://<manager-ip>:3006/; proxy_pass http://[<manager-ip6>]:3006/;
} }
# dashboard (old) # dashboard (old)