Infrastructure Overview â
This section provides a comprehensive view of the 28-container homelab infrastructure, built on Proxmox VE and managed through GitOps principles.
đī¸ Architecture Summary â
The infrastructure consists of 28 LXC containers organized into four main service categories, all managed through Infrastructure as Code using Terraform and Ansible.
Service Distribution â
9
Media Stack
Plex, *arr automation, torrents
9
Monitoring
Grafana, Prometheus, Loki, alerts
4
Security
SWAG, Wireguard, Vaultwarden
6
Business
Odoo, Immich, Paperless, storage
đĨī¸ Platform Details â
Virtualization Layer â
- Platform: Proxmox VE 8.14 on Linux 6.14.8-2-pve
- Container Technology: LXC (Linux Containers)
- Host Resources: 32GB RAM, 99% utilization optimization
- Storage: ZFS pool with 10TB shared data, 128GB Docker volumes
Operating Systems â
- Debian 13 "Trixie": Primary OS for most containers
- Ubuntu 25.04 "Plucky": Selected services requiring newer packages
- Alpine 3.22.1: Lightweight containers for efficiency
đ Network Architecture â
Dual Bridge Configuration â
Network Segmentation â
- Primary Network (vmbr0):
192.168.0.x/24- All containers with direct internet - VPN Network (vmbr1):
10.10.10.x/24- Isolated torrent traffic through Wireguard - Firewall Rules: 10+ containers with specific port access controls
đž Storage Configuration â
ZFS Storage Pool â
- Shared Data Volume: 10TB for media and application data
- Docker Volumes: 128GB dedicated for containerized applications
- Monitoring Storage: Specialized 64GB volume for logs and metrics
- Backup Strategy: Automated snapshots with 7-day retention
Mount Point Strategy â
Container Mount Patterns:
âââ /data â 10TB shared storage (media, documents)
âââ /docker â 128GB container volumes
âââ /monitoring â 64GB specialized logging storage
âââ /backups â Automated backup destinationsđ§ Resource Allocation â
High-Performance Containers â
| Container | RAM | Cores | Special Features |
|---|---|---|---|
| Plex | 4GB | 2 | GPU passthrough, privileged |
| Immich | 4GB | 4 | GPU passthrough, privileged |
| Immich Backup | 9GB | 4 | Stopped by default |
Standard Allocation â
- Media Services: 512MB-2GB RAM, 1-2 cores
- Monitoring Stack: 256MB-2GB RAM optimized for efficiency
- Security Services: 512MB-2GB RAM with network focus
- Business Apps: 1-2GB RAM for database-backed applications
đ GitOps Implementation â
Infrastructure as Code â
- Terraform: Complete container definitions and resource allocation
- Ansible: Service configuration and application deployment
- GitHub Actions: Automated testing, planning, and deployment
- Version Control: All infrastructure changes tracked and reviewable
Deployment Workflow â
đ Key Metrics â
99.9%
Uptime
30.75GB
RAM Allocated
103GB
Storage Freed
31 Days
Log Retention
đ Automation Features â
Self-Healing Infrastructure â
- Automated Container Restart: Failed services auto-recover
- Resource Monitoring: Proactive alerts at 90% thresholds
- Backup Automation: Daily snapshots with intelligent retention
- Update Management: Mass upgrade capability across all containers
Intelligent Alerting â
- Critical Alerts đ´: Container failures, storage issues
- Warning Alerts đĄ: Resource thresholds, service degradation
- Info Notifications âšī¸: Deployment status, system updates
- Success Confirmations â : Backup completion, service recovery