Homelab infra¶
Everything in the homelab is described by this repository and applied by Ansible from a self-hosted GitHub runner inside the LAN.
| What | Where | Managed by |
|---|---|---|
| Proxmox VE (4 API endpoints, 10 nodes) | node01, node02, home-cluster (node04–11), node08 | discovered via API |
| Metrics | Prometheus | playbooks/monitoring.yml |
| Dashboards | Grafana → Homelab / Homelab overview | roles/grafana |
| Alerts | Alertmanager → Telegram / e-mail | roles/alertmanager |
| Source of truth (DCIM / IPAM) | NetBox | playbooks/inventory_sync.yml (nightly) |
| Reverse proxy | Traefik Manager | playbooks/proxy.yml (adds missing routes) |
| DNS | adguard01 / adguard02 | playbooks/dns.yml |
| This site | https://docs.home.janwiebe.eu | .github/workflows/docs.yml |
How it fits together¶
- Inventory — Proxmox API is the source of what exists. Every LXC/VM is discovered; the app it runs is derived from its name (community-scripts naming) via the app catalog.
- One service list —
infra_services(filter plugin) combines inventory × catalog. Prometheus targets, Traefik routes, DNS records, NetBox services and these docs are all generated from it. - Nightly sync — facts (hardware, versions, pending updates) → NetBox +
docs/inventory/. New LXCs are picked up automatically: node_exporter installed, probes added, DNS record created.