Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
1.7 KiB
1.7 KiB
IP Centralization Tracking
Last Updated: 2026-01-31
Purpose: Track scripts/docs using hardcoded IPs for migration to centralized config
Source of Truth
| Variable | Value | Scope |
|---|---|---|
| PROXMOX_ML110 | 192.168.11.10 | ml110 host |
| PROXMOX_R630_01 | 192.168.11.11 | r630-01 host |
| PROXMOX_R630_02 | 192.168.11.12 | r630-02 host |
| NPM_URL | https://192.168.11.167:81 | NPMplus (VMID 10233) |
Tezos/Etherlink/Jumper: See .env.example (ETHERLINK_RPC_URL, TEZOS_RPC_URL, JUMPER_API_KEY, etc.). TEZOS_NETWORK_CONFIG_ENV_MATRIX.
Scripts Using Hardcoded IPs
- scripts/verify/verify-backend-vms.sh – VM_CONFIGS with host IPs
- scripts/verify/backup-npmplus.sh – NPMPLUS_HOST, NPM_URL
- scripts/deployment/phase.sh* – Proxmox host references
- ~590 scripts – grep for 192.168.11, 76.53.10.34
.env Variables (add to .env.example)
PROXMOX_ML110=192.168.11.10
PROXMOX_R630_01=192.168.11.11
PROXMOX_R630_02=192.168.11.12
NPM_URL=https://192.168.11.167:81
NPMPLUS_HOST=192.168.11.11
NPMPLUS_VMID=10233
Migration Approach
- Add PROXMOX_* and NPM_* to
.env.example(see above) - Source from env in scripts:
source .env 2>/dev/null || true - Replace literals with
${VAR:-default} - Update docs referencing IPs to point to this file
Status
| Phase | Status |
|---|---|
| Document created | ✅ Done |
| .env.example vars | ✅ Done |
| Script migration | ✅ Done (676 via centralize; fix-remaining completed all active-script bare IPs; archive excluded. Remaining refs are in `${VAR:-ip}` fallbacks or doc strings using `${NETWORK_PREFIX}.X`.) |
| Doc updates | ⏳ Pending |