Externalize hardcoded host inventory and diagram topology into JSON config files (hosts.json, diagram.json) loaded at runtime. Add .env for configurable port, SSH key path, and refresh interval. Include example configs and README for standalone deployment. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 lines
405 B
Text
9 lines
405 B
Text
{
|
|
"proxmox_nodes": {
|
|
"pve-node1": {"ip": "192.168.1.5", "hardware": "CPU Model • 64GB", "role": "General"}
|
|
},
|
|
"docker_hosts": {
|
|
"my-vm": {"ip": "192.168.1.80", "user": "root", "type": "vm", "vmid": "100", "node": "pve-node1", "purpose": "Web services"},
|
|
"my-lxc": {"ip": "192.168.1.121", "user": "root", "type": "lxc", "vmid": "121", "node": "pve-node1", "purpose": "Databases"}
|
|
}
|
|
}
|