121 lines
4.1 KiB
Plaintext
121 lines
4.1 KiB
Plaintext
|
|
# IP Address Configuration
|
||
|
|
# Centralized IP address definitions for all scripts
|
||
|
|
# Source of truth: docs/11-references/IP_ADDRESS_REGISTRY.md
|
||
|
|
# Optional: source PROJECT_ROOT/.env first to override (scripts should: source .env 2>/dev/null; source this file)
|
||
|
|
|
||
|
|
# Proxmox Hosts (overridable via .env PROXMOX_ML110, PROXMOX_R630_01, PROXMOX_R630_02)
|
||
|
|
PROXMOX_HOST_ML110="${PROXMOX_ML110:-${PROXMOX_HOST_ML110:-192.168.11.10}}"
|
||
|
|
PROXMOX_HOST_R630_01="${PROXMOX_R630_01:-${PROXMOX_HOST_R630_01:-192.168.11.11}}"
|
||
|
|
PROXMOX_HOST_R630_02="${PROXMOX_R630_02:-${PROXMOX_HOST_R630_02:-192.168.11.12}}"
|
||
|
|
PROXMOX_ML110="${PROXMOX_HOST_ML110}"
|
||
|
|
PROXMOX_R630_01="${PROXMOX_HOST_R630_01}"
|
||
|
|
PROXMOX_R630_02="${PROXMOX_HOST_R630_02}"
|
||
|
|
|
||
|
|
# RPC Endpoints
|
||
|
|
# RPC_CORE_1: Use for admin and contract deployments (Chain 138)
|
||
|
|
RPC_CORE_1="192.168.11.211"
|
||
|
|
# RPC_PUBLIC_1 / VMID 2201 (besu-rpc-public-1): FIXED PERMANENT - 192.168.11.221
|
||
|
|
# Use for bridge, monitoring, public-facing (ports 8545 HTTP, 8546 WS). Do not change.
|
||
|
|
RPC_PUBLIC_1="192.168.11.221"
|
||
|
|
RPC_2201="192.168.11.221"
|
||
|
|
RPC_PRIVATE_1="192.168.11.232"
|
||
|
|
RPC_THIRDWEB_PRIMARY="192.168.11.240"
|
||
|
|
|
||
|
|
# Default RPC URL (admin/deployment → RPC_CORE_1)
|
||
|
|
RPC_URL_138="http://${RPC_CORE_1}:8545"
|
||
|
|
# Public/bridge/monitoring: VMID 2201 (8545 HTTP, 8546 WS)
|
||
|
|
RPC_URL_138_PUBLIC="http://${RPC_PUBLIC_1}:8545"
|
||
|
|
WS_URL_138_PUBLIC="ws://${RPC_PUBLIC_1}:8546"
|
||
|
|
|
||
|
|
# Gateway
|
||
|
|
NETWORK_GATEWAY="192.168.11.1"
|
||
|
|
|
||
|
|
# Network prefix for computed IPs (e.g. "${NETWORK_PREFIX}.$((100 + vmid - 1000))")
|
||
|
|
NETWORK_PREFIX="${NETWORK_PREFIX:-192.168.11}"
|
||
|
|
|
||
|
|
# DNS Servers (Cloudflare - consistent resolution, avoids carrier/ISP DNS issues)
|
||
|
|
DNS_PRIMARY="1.1.1.1"
|
||
|
|
DNS_SECONDARY="1.0.0.1"
|
||
|
|
|
||
|
|
# Public IP Block #1 (Spectrum)
|
||
|
|
PUBLIC_IP_BLOCK_1="76.53.10.32/28"
|
||
|
|
PUBLIC_IP_GATEWAY="76.53.10.33"
|
||
|
|
PUBLIC_IP_ER605_WAN1="76.53.10.34"
|
||
|
|
|
||
|
|
# Service IPs (commonly referenced)
|
||
|
|
IP_BLOCKSCOUT="192.168.11.140"
|
||
|
|
# Blockscout: web 80, API 4000. Forge Verification Proxy: 3080
|
||
|
|
BLOCKSCOUT_API_PORT="${BLOCKSCOUT_API_PORT:-4000}"
|
||
|
|
BLOCKSCOUT_API_URL="http://${IP_BLOCKSCOUT}:${BLOCKSCOUT_API_PORT}"
|
||
|
|
FORGE_VERIFIER_PROXY_PORT="${FORGE_VERIFIER_PROXY_PORT:-3080}"
|
||
|
|
IP_NPMPLUS="192.168.11.167"
|
||
|
|
IP_NPMPLUS_SECONDARY="192.168.11.168"
|
||
|
|
IP_NGINX_LEGACY="192.168.11.26"
|
||
|
|
IP_ORDER_OPENSEARCH="192.168.11.48"
|
||
|
|
IP_ORDER_HAPROXY="192.168.11.39"
|
||
|
|
IP_VAULT_PHOENIX_2="192.168.11.201"
|
||
|
|
|
||
|
|
# Order Service IPs
|
||
|
|
ORDER_POSTGRES_PRIMARY="192.168.11.44"
|
||
|
|
ORDER_POSTGRES_REPLICA="192.168.11.45"
|
||
|
|
ORDER_REDIS_IP="192.168.11.38"
|
||
|
|
|
||
|
|
# DBIS Service IPs
|
||
|
|
DBIS_POSTGRES_PRIMARY="192.168.11.105"
|
||
|
|
DBIS_POSTGRES_REPLICA="192.168.11.106"
|
||
|
|
DBIS_REDIS_IP="192.168.11.120"
|
||
|
|
|
||
|
|
# Load this file in scripts:
|
||
|
|
# source "$(dirname "$0")/../config/ip-addresses.conf"
|
||
|
|
IP_OMADA="192.168.11.20"
|
||
|
|
IP_MIM_WEB="192.168.11.37"
|
||
|
|
DB_HOST="192.168.11.53"
|
||
|
|
IP_NPMPLUS_ETH0="192.168.11.166"
|
||
|
|
RPC_ALLTRA_1="192.168.11.250"
|
||
|
|
IP_DBIS_FRONTEND="192.168.11.130"
|
||
|
|
IP_FIREFLY="192.168.11.66"
|
||
|
|
IP_FIREFLY_2="192.168.11.67"
|
||
|
|
IP_BESU_SENTRY="192.168.11.154"
|
||
|
|
IP_DBIS_API="192.168.11.155"
|
||
|
|
IP_DBIS_API_2="192.168.11.156"
|
||
|
|
|
||
|
|
# Additional service/container IPs (for remaining script migration)
|
||
|
|
IP_VALIDATOR_0="192.168.11.100"
|
||
|
|
IP_VALIDATOR_1="192.168.11.101"
|
||
|
|
IP_VALIDATOR_2="192.168.11.102"
|
||
|
|
IP_VALIDATOR_3="192.168.11.103"
|
||
|
|
IP_VALIDATOR_4="192.168.11.104"
|
||
|
|
IP_BESU_RPC_0="192.168.11.150"
|
||
|
|
IP_BESU_RPC_1="192.168.11.151"
|
||
|
|
IP_BESU_RPC_2="192.168.11.152"
|
||
|
|
IP_BESU_RPC_3="192.168.11.153"
|
||
|
|
RPC_ALI_1="192.168.11.251"
|
||
|
|
RPC_ALI_2="192.168.11.252"
|
||
|
|
RPC_THIRDWEB_1="192.168.11.241"
|
||
|
|
RPC_THIRDWEB_2="192.168.11.242"
|
||
|
|
|
||
|
|
# Network and additional container IPs (for remaining migration)
|
||
|
|
NETWORK_192_168_11_0="192.168.11.0"
|
||
|
|
IP_INDY="192.168.11.68"
|
||
|
|
IP_FABRIC="192.168.11.65"
|
||
|
|
IP_CACTI="192.168.11.64"
|
||
|
|
ORDER_REDIS_REPLICA="192.168.11.46"
|
||
|
|
RPC_PUTU_1="192.168.11.257"
|
||
|
|
RPC_PUTU_2="192.168.11.258"
|
||
|
|
RPC_LUIS_1="192.168.11.255"
|
||
|
|
RPC_LUIS_2="192.168.11.256"
|
||
|
|
|
||
|
|
# Additional ALLTRA container IPs
|
||
|
|
IP_FIREFLY_ALLTRA_1="192.168.11.175"
|
||
|
|
IP_FIREFLY_ALLTRA_2="192.168.11.176"
|
||
|
|
IP_CACTI_ALLTRA="192.168.11.177"
|
||
|
|
IP_FABRIC_ALLTRA="192.168.11.178"
|
||
|
|
IP_INDY_ALLTRA="192.168.11.179"
|
||
|
|
IP_OMADA_ALT="192.168.11.8"
|
||
|
|
IP_MIM4U="192.168.11.19"
|
||
|
|
IP_SERVICE_23="192.168.11.23"
|
||
|
|
IP_CCIP_MONITOR="192.168.11.28"
|
||
|
|
IP_SERVICE_30="192.168.11.30"
|
||
|
|
IP_KEYCLOAK="192.168.11.52"
|
||
|
|
IP_RPC_90="192.168.11.90"
|