Homelab¶
My homelab is the source of truth for all my personal data — photos, documents, music, media, notes, location history — and the place where I learn and practise infrastructure work outside my day job.
flowchart LR
U([Internet users]) -->|HTTPS *.my-domain| VPS
subgraph VPS[VPS · reverse proxy]
P[Pangolin<br/>+ Traefik + TLS]
end
P <-->|WireGuard tunnel<br/>outbound only| N
subgraph HL[Homelab server]
N[Newt] --> D[Docker<br/>~60 stacks]
D --- M[(Data disks)]
end
M -->|Restic, encrypted| OBJ[(Object storage)]
M -->|rclone weekly| NC[(Cloud storage)]
M <-->|Syncthing| DEV[Phone & PCs]
At a glance¶
| Hardware | Repurposed laptop — Intel Core i7 (4C/8T), 16 GB RAM, NVMe + 2 × 1 TB HDD |
| OS | Ubuntu Server 24.04 LTS (upgraded in place from 22.04) |
| Workloads | Docker Engine + Compose, ~60 active stacks, 60+ retired ones kept for reference (full list) |
| Exposure | Pangolin reverse proxy on a VPS, WireGuard tunnel (Newt), wildcard domain with TLS |
| Remote admin | Key-only SSH tunnelled through the VPS — no SSH exposed to the internet |
| Backups | 3-2-1: Syncthing · weekly rclone to cloud storage · Restic (Backrest) to object storage |
| Monitoring | Prometheus · Grafana · Loki · Beszel · Scrutiny · ntfy |
| Config as code | All Compose files in Jaumoso/homelab, pushed automatically every week |
Design principles¶
- Own the data. Photos, documents and history live on disks I control; cloud is only used for encrypted backups.
- Nothing exposed at home. The router has no port forwarding. Public services go through an outbound tunnel to a VPS.
- SSD for config, HDD for data. The NVMe only holds the OS, Docker and configuration — nothing that grows unbounded. Everything that grows lives on the data disks.
- Never delete a stack. Retired stacks are moved to
unused/with their config intact, so trying something again takes minutes. - If it is not monitored, it is not running. Every critical piece has a metric, a log stream or an alert.
Sections¶
- Architecture & Network — how traffic flows and how services are published
- Hardware & Storage — disks, layout and data organisation
- Services — the full, auto-generated catalogue
- Backups & Disaster Recovery — 3-2-1 strategy and recovery plan
- Monitoring & Alerting — metrics, logs, disk health and notifications
- Security — hardening and access model
- Use Cases — how the pieces fit together in daily life
- Lessons Learned — real incidents and what I changed