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
stop_grace_period: 1m30s
networks:
default:
ipv4_address: $DASHBOARD_IP
ipv6:
ipv6_address: $DASHBOARD_IP6
manager:

1
scripts/configure vendored
View File

@ -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"

View File

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

View File

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