Homelab
Two small servers on my home network where I host the things I use every day (dashboard, briefing, monitoring), with a deploy loop that pushes updates from my PC.
At a glance
- Problem
- The things I rely on were running on a laptop that sleeps, on free tiers that break, or not at all.
- My role
- I stood up the first server and its services by hand, then built the deploy scripts, monitoring and single sign-on with Claude Code.
- Result
- One home server runs the dashboard, the briefing and more behind one login, a second holds the storage and checks the backups, and my phone gets an alert when anything goes quiet.
An animated story of my homelab as a small town at night: houses built by hand first, then faster with Claude Code, with street names, one front door, alerts to my phone, a deploy bridge from my Windows PC, a second island for storage and backups, and a separate Windows mini-PC.
At a glance
- Problem
- The things I rely on were running on a laptop that sleeps, on free tiers that break, or not at all.
- My role
- I stood up the first server and its services by hand, then built the deploy scripts, monitoring and single sign-on with Claude Code.
- Result
- One home server runs the dashboard, the briefing and more behind one login, a second holds the storage and checks the backups, and my phone gets an alert when anything goes quiet.
Under the hood, for the technical folks
The homelab runs on two small servers, both on Proxmox, standalone (not clustered). The primary node carries the user-facing stack (dashboard, briefing, smart-home glue, media server), each in its own unprivileged LXC container, one per concern. The dashboard runs as a Flask + HTMX app behind a systemd service, fronted by Caddy for HTTPS termination. Authelia handles single sign-on for the services that need it (forward-auth for browser sessions, OIDC for the home automation hub). Uptime Kuma watches the whole stack with health checks; ntfy pushes alerts to my phone when anything goes quiet for too long. The second node sits alongside it (also Proxmox, also standalone), exporting the bulk storage to the primary node over NFS and running Proxmox Backup Server, which pulls daily snapshots and verifies them against their checksums on a schedule. Keeping storage and backup verification off the services box means a disk problem on the second node can’t take the services down with it. A separate Windows mini-PC on the home network (distinct from the PC I do my work on) runs a small Flask companion server that the dashboard talks to over the LAN, with a bearer token. It exposes the things that have to happen on a physical machine: keyboard, mouse, and media controls.
The deploy loop is three short shell scripts. The first runs the dashboard locally on a different port, with a separate config file and a separate database, so I can iterate without touching production. The second validates the production config (right port, no DEV in the title), copies files to the right container over SSH, restarts the systemd service, and runs a health check. The third compares local files against deployed ones and offers a --fix flag that redeploys anything drifted. Secrets live outside the repo and are deployed manually after a fresh container. The deploy script refuses to touch them.
Technical highlights:
- Per-service unprivileged LXC containers so a misbehaving service can’t take the rest of the homelab down
- Caddy reverse proxy with automatic HTTPS for everything reachable on the home network
- Authelia single sign-on across the services that need a login, plus OIDC for the home automation hub
- Uptime Kuma + ntfy push alerts so my phone tells me when anything is unhealthy
- A standalone second node (not clustered) exporting bulk storage over NFS and running Proxmox Backup Server, which pulls daily backups from the primary node and checks them against their checksums on a schedule. A storage problem on the second node can’t take the services down
- A three-script deploy loop that validates production safety, batches file copies for speed over a multiplexed SSH connection, and detects drift between local and remote
- A development copy of the dashboard on my Windows PC, on its own port with its own config file and database, so I can try changes without touching production
- A Tailscale-reachable development container, so work on the homelab can carry on from outside the house without exposing anything to the open internet
- A separate Windows mini-PC companion (distinct from the PC I develop on) running a small Flask server with bearer-token auth, so the home dashboard can drive keyboard, mouse, and media controls on that mini-PC without leaving the home network
What I wanted
I wanted one place on my own network to run the things I rely on. Before it, every project was on my laptop (which sleeps), on a free tier somewhere (which breaks the week a service deprecates something), or not running at all. I wanted a box at home where the dashboard I check every day, the briefing, and whatever I’m trying out this week could live without me having to think about them.
How I got it
This was the first project I started for myself, before I was working with Claude Code. I picked out a small server, installed virtualization, learned what a container was, and stood the first few services up by hand. The systems side I had some chops for already (networking, DNS, getting a box to do what I wanted), and the manual phase taught me what the homelab needed to be. It also taught me that doing each piece by hand was slow.
With Claude Code the same kind of work moved a lot faster. I’d decide what the homelab needed next (a deploy script that wouldn’t push broken configs, monitoring with phone alerts, single sign-on in front of anything with a login) and build it in a session or two instead of a weekend. My role shifted from “figure out this command” to “decide which part of the system needs attention next.” Most of what’s on the homelab now was built that way.
The pattern that emerged is local-first. Everything starts on my Windows PC, on a different port than production, and ships with one command once it’s good enough to keep: the deploy script handles the copy, refuses to overwrite production with a dev config, and checks the result is responding before walking away. A second script flags when local and remote drift. Around that sit the boring parts that make it trustworthy: real HTTPS hostnames instead of port numbers, one login, monitoring with push alerts to my phone, and daily backups checked against their checksums every night on a second server that also holds the bulk storage. A separate Windows mini-PC (not the PC I work on) runs a small token-protected companion server, so the dashboard can drive its keyboard, mouse and media controls without leaving the network.
What it does
It hosts the things I use every day behind one login: the dashboard, the briefing, the smart-home glue, a media server for things I own, and a couple of small services I’m using to learn. If a backup fails or a service stops responding, my phone buzzes. If everything is fine I don’t hear from it, which is the goal.
Why it matters to me
Owning the loop is what made me actually understand what “reliable” means. On free tiers I never had to find out what bad operations feel like. Here I notice when a backup drifts, when a service starts answering slowly, when an alert pages me about nothing, and I have to fix it myself. That feedback has been more useful for everything else I build than any tutorial.
What I learned
The idea that kept coming back was keeping things apart, so a problem stays where it started. Every service lives in its own unprivileged container, so one that misbehaves can’t take the rest of the homelab down with it. The development copy of the dashboard runs on its own port, with its own config file and its own database, so trying something never touches what’s running. Secrets live outside the repo, and the deploy script refuses to touch them. And when the storage and the backup checks moved to a second server, it was for the same reason: a disk problem over there can’t take the services down.
None of those is a big piece of work on its own. Together they mean that when something does break, I’m fixing one thing, not untangling everything that leaned on it.
Running my own services taught me that the boring parts (backups, monitoring, deploy hygiene) are most of what makes software trustworthy. You only really feel that when you own the operations.