Skip to content

← All work

CS-06

Homelab

A self-hosted platform on one Proxmox host, run like production: isolated services, offsite backups, heartbeat monitoring and every change made through code.

My role
Designer, operator and sole maintainer
Status
Running · being extended
~6 daysMeasured
Longest an outage went unnoticed, before the watchdog
From my runbook. The reason the watchdog exists

Scope note. Architecture only: no addresses, hostnames or network layout of the real system.

The problem

I wanted to run the software I use every day (a media library, photo backup and my finance tools) without handing my data to someone else’s servers. I also didn’t want a pile of hand-tuned machines only I could fix. So I run it like a small production environment: everything rebuildable from a repository, backed up offsite, and changed only through code.

Architecture

How the homelab is put together

Homelab architecture A Proxmox host contains guests that run Docker Compose stacks for Jellyfin, Immich and Firefly III, with the Mizan finance app on top. Backups go offsite to Backblaze and a heartbeat service alerts if a job goes quiet. A git repository with GitHub Actions validates changes, and a scheduled job pulls them onto the host. Remote access is only through a private network; nothing is port-forwarded. Proxmox host Guests (VM / container) Jellyfin Immich Firefly III+ Mizan Backups, offsite to BackblazeHealthchecks.io alerts if a job goes quiet Git + GitHub Actions make + compose Private network only
Simplified. Each service has its own container; nothing is port-forwarded, and the private network is the only way in.
  • One Proxmox host, with each service in its own container, so one bad upgrade can’t take the rest down.
  • The services: Jellyfin for media, Immich for photos, and Firefly III as my ledger, with my own app, Mizan, on top.
  • No open ports. The only way in is a private network.
  • Encrypted offsite backups of the irreplaceable data (photos and finances), kept for up to two years.
  • Heartbeat alerts. Every backup and deploy checks in when it finishes; if one goes quiet, I hear about it.

How changes are made

If it’s not in the repository, it doesn’t count.

  1. I change a file in git.
  2. GitHub Actions checks it: scripts linted, configs valid, no secrets or private data.
  3. A job on the host pulls the change. CI can’t reach the lab, so a hacked pipeline has nowhere to go.
  4. Routine version updates (opened by Renovate, pinned to exact images) deploy each morning on their own. Anything else waits for me.

What broke, and what I learned

The media library lives on a drive attached to another computer. One day the drive dropped off for a moment. The file share stayed up but started serving the wrong disk, so the next library scan found no movies and deleted them all from the library. It went unnoticed for about six days,1 because the health check was an old copy that didn’t test for this.

What I changed:

  • A watchdog now checks every two minutes and restarts the share only on this exact failure.
  • Redeploying the health check is a named step after any change to it.
  • A restore refuses an empty backup.

The lesson: check the thing, not the symptom. “Is the drive readable?” passed the whole time, on the wrong drive.

My role

I designed it and run it alone. I decide what runs and how changes happen, and I review and apply every change. Most scripts were written with Claude Code, under those rules.

What’s not done

  • Rehearse and time a full restore from the offsite backup.
  • Publish measured numbers: service count, uptime and monthly cost.
  • Publish a cleaned-up copy of the repository.

What this shows

Production habits on a personal system (reproducible, backed up, change-controlled) and the judgement to explain each trade-off.

Footnotes

  1. Runbook · the media server’s setup notes in my private homelab repository, which record both failures, the six days it went unnoticed, and the fix. ↩