Back to projects

PROJECT / HOMELAB

HomeLab: Proxmox Since 2024

What started as one Tailscale container is now a single-node Proxmox lab in San Diego: 16 VMs and containers, nine of them running, covering automation, metrics, backups, local AI, a network map, and a self-hosted copy of my own software.

Proxmoxn8nClickHouseTailscaleCloudflarellama.cpp

Online · San Diego · since Aug 31, 2026

The Short Version

I've been running a Proxmox homelab since late 2024. It didn't start as a "homelab." It started as one container doing one useful thing. Every era since has been driven by a concrete problem I wanted to solve, or a piece of infrastructure I wanted to stop misunderstanding.

Today it's one Ryzen box hosting 16 VMs and containers. Nine are live: remote access, scheduled automation, a metrics database, weekly backups, a GPU container that reads receipts, a personal instance of my finance app, an ops VM that runs Claude Code, a network map, and (for now) a Minecraft server for friends. The other seven are parked or retired on purpose, because 32 GB of RAM is a budget and I'd rather spend it on things I actually use. A Home Assistant Green runs on the same network as a separate appliance.

The SLO rack came down on June 17, 2026, and the lab was rebuilt in San Diego. It has been back online since August 31. The move broke more than I expected, and most of the interesting parts of this page came out of fixing it.

Timeline

Late 2024 · San Luis Obispo

The Beginning

Installed Proxmox on a spare box at my first apartment in San Luis Obispo. The first container was Tailscale, so I could VPN in from anywhere. The second was Pi-hole, blocking ads in DNS for the whole household. That was the entire lab for a while: two containers doing useful household work.

June 2025 · Across Town

The Move + Immich

Rack moved across San Luis Obispo to a new apartment. Stood up Immich as a self-hosted photo library, originally for my Cal Poly club baseball team (30+ users), and later for my own photos too. Other people depending on it made uptime stop being theoretical.

Late 2025 to Early 2026

The DevOps Era

This is where the lab stopped being "a few useful services" and became a real learning environment. Each addition forced me to learn something I'd been hand-waving over:

  • A real host. Over the winter the original FX-6350 with 8 GB of DDR3 gave way to a Ryzen 9 5900X (12 cores, 24 threads) with 32 GB of DDR4.
  • n8n (LXC) for scheduled automation.
  • ntopng for flow-level network visibility. Finally being able to see what my network was actually doing. (Destroyed in May 2026 to reclaim memory.)
  • A VM for a friend's side project, hosted alongside my own.
  • Home Assistant Green, a physical appliance. Automation was always going to be the next project.
  • Samba video share (LXC) as a macOS-friendly editing scratch volume.
April 2026

Network Redesign + Observability Stack

The biggest level-up so far, and it started with a loss: the AI agent I'd been running ops through lost access. Taking it apart showed most of its jobs were shell scripts wearing an agent costume. So the plumbing moved to n8n, the metrics moved to ClickHouse, and the LLM was kept for work that actually needs judgment: a scalpel, not plumbing.

  • Migrated off a consumer R9000 router onto pfSense CE running as a VM, with a dual-port Intel NIC for WAN and LAN. The first cutover failed because the cable modem wouldn't re-lock to new hardware; the second one stuck on April 13. VLANs for IoT, Servers and Guest were designed and defined, but never switched on before the move.
  • Redesigned addressing from scattered to sequential, grouped by function, with a reservation for every service.
  • Built a ClickHouse + Grafana observability stack. The "ClickHouse VM" turned out to be bare Ubuntu with ClickHouse never installed, so the schema started from zero. Telegraf then looked healthy at every layer (service active, HTTP 200, a write logged) while the table held zero rows. "Verify with row counts, not status codes" has been a standing rule ever since.
  • Put a Cloudflare Worker heartbeat on a one-minute cron, writing in from Cloudflare's edge. The first version went through Tailscale Funnel, which turned out to block datacenter IPs and had been failing every Worker call with a 522.
  • Moved the daily report from a bash cron to n8n and built the weekly patch workflow.
Early June 2026

Backups, Finally

Stood up Proxmox Backup Server in an unprivileged container, plus a restic repo for the configs that matter most. Backup failures had been going to root mail, which bounced at Gmail because it came from a residential IP, so alerts moved to a Discord hook. ClickHouse's own logging had grown to 62 GiB, dwarfing the actual data; cleanup took it to 247 MiB, and ClickHouse was excluded from backups on purpose, since the schema is in git and the data re-ingests.

June 17, 2026 · The Move South

Racked Down

Graduated, and the rack came down for the move to San Diego and the new job. The newest backups were a few days old. Then about ten weeks in boxes.

Aug 31, 2026 · San Diego

Back Online, Mostly

Back online in San Diego, on fiber internet behind a UniFi gateway. pfSense didn't survive the trip: its NICs had no carrier on the new network, and a week later I made fiber plus UniFi the setup going forward. The pfSense VM was kept, stopped, and later retired. The first week was mostly finding out what the move had quietly broken:

  • The backup job still pointed at an address from the old apartment. Caught and fixed the day the lab came back.
  • An unattended upgrade installed a ClickHouse build that needed a CPU feature the VM didn't expose. It crash-looped 18,837 times over six and a half days, and nothing alerted. (More on that below.)
  • The daily report had been producing nothing at all, because its first step, a query to the dead pfSense VM, aborted the whole run. It fails open now.
  • The docs were full of the old network: 145 stale references across 41 files. Live configs got fixed; historical docs were left alone on purpose, because rewriting them destroys the record of what was true at the time.
September 2026

Cleanup and Two GPUs

  • Audited database access and moved every client onto scoped, least-privilege accounts.
  • Stopped Grafana (nobody was opening it) and cut ClickHouse from 8 GB of RAM to 4.
  • Batched Telegraf: from roughly 1,155 INSERTs a minute across the fleet to about 5.
  • Pulled the dual-port NIC pfSense had used and put two GPUs in its place: an AMD RX 5700, whose render node now feeds a container running local OCR models, and a GTX 1060 that drives the console.
  • Two host freezes, on the 15th and the 25th. The host now panics and reboots itself instead of hanging.
  • Stood up a Minecraft server for friends on the 25th, and parked four guests to pay for its RAM.
October 2026

Travel-Ready + a Network Map

  • Approved the Tailscale container as an exit node and phone-tested it, so my traffic can leave through home when I'm on the road.
  • Redesigned the daily report to be read on a phone in ten seconds.
  • Plugged the Home Assistant Green back in on the 13th for a home automation project. It got daily encrypted backups, and the daily report now warns when it drops off the network.
  • Added Homelable on the 26th, an open-source network map. It runs in Docker inside a container, scans the LAN and pulls in the Proxmox guests through a read-only API token.
  • Finished folding an older network repo and the last stray notes into one git repo, now the only source of truth for the lab. Reconciled the inventory and the issue tracker against what's actually running.

The Lab Today

As of October 26, 2026

Hypervisor
Proxmox VE
single node
CPU
Ryzen 9 5900X
12 cores / 24 threads
Memory
32 GB DDR4
limits how many guests run
Guests
9 of 16 running
7 VMs, 9 containers
Storage
ZFS mirror + 2 TB
5 SATA drives in all
GPUs
RX 5700 + GTX 1060
local OCR + console
Gateway
UniFi
on fiber internet
Remote Access
Tailscale
subnet router + exit node
Backups
PBS + restic
weekly, verified
Public Web
Cloudflare Tunnel
outbound only

Ops from one place. Hosts are administered from a dedicated ops VM running Claude Code, which keeps the inventory, runbooks, a decisions log and a 38-issue tracker in git, next to the configs they describe. The scheduled jobs in n8n use their own separate key, so one compromised identity doesn't open everything. Risky hypervisor changes get a cold review from a second Claude Code session before they go in.

Everything lives in version-controlled configs, with the decisions written down. I've learned the hard way that "I'll remember how I set this up" is a lie.

Services

16 guests on one host. Nine are running. The other seven are stopped on purpose: six parked, mostly to free RAM, and pfSense retired. "Parked" means stopped, autostart off, and listed as expected-down in the daily report, so a stopped guest that isn't on that list shows up as critical the next morning.

Running · 9 guests + 1 appliance

Running

Tailscale

LXC

Subnet router since day one; the exit node was approved and phone-tested in October. Private access to everything from anywhere, and travel traffic that leaves through home.

Running

n8n

LXC

Runs the scheduled ops: the morning daily report and the weekly patch run, from its own container with its own SSH key.

Running

ClickHouse

VM

ClickHouse on 4 GB of RAM. Heartbeats, host metrics, daily-report history and game analytics: under 1 GiB of data (about 2 GiB on disk with ClickHouse's own logs) on a ~200 GiB volume. Whether to swap it for something smaller is an open question.

Running

Ops VM

VM · Claude Code

Where Claude Code works. Administers the other hosts over SSH and keeps the inventory, runbooks, decisions log and issue tracker in git.

Running

DevHost (Zedi)

VM · Docker

My personal, self-hosted instance of Zedi (Rust + Axum + Postgres in Docker), LAN-only. The public SaaS runs on Railway. Next: receipts read by the GPU container instead of a cloud API.

Running

Proxmox Backup Server

LXC

Weekly incremental backups with dedup, verify jobs, and 4 weekly / 6 monthly / 1 yearly retention. Runs as an unprivileged container instead of a VM to save RAM.

Running

GPU inference container

LXC · RX 5700

The RX 5700's render node, shared into an unprivileged container. llama.cpp on Vulkan runs GLM-OCR, Qwen3-4B and Qwen3-VL-2B to turn receipt photos into JSON. LAN-only.

Running

Minecraft

LXC · for now

A vanilla server for friends, planned for two weeks and still up. An analytics collector streams events and stats into ClickHouse (no IPs stored, chat never analyzed).

Running

Homelable

LXC · Docker

An open-source network map with live status checks, added in October. It scans the LAN, imports the Proxmox guests through a read-only API token and merges the two by MAC address. It has its own weekly backup job and a place on the patch roster.

Online

Home Assistant Green

Physical appliance

Unplugged after the move, back since October 13 for a home automation project. It keeps a week of daily encrypted backups on the box itself (an off-box copy is still to do), and the daily report warns if it drops off the network.

Parked · 6  /  Retired · 1

Parked

Pi-hole

LXC

Bypassed since the move: the new gateway is the network's DNS server now. Parked until I decide whether to wire it back in.

Parked

Grafana

LXC

Two dashboards, provisioned as code, never opened. Stopped in September and kept around in case I'm wrong.

Parked

Immich

VM

Photo library for my club baseball team and my own photos. About 400 GB, too big for the weekly backups. Stopped in September to free RAM for the GPU container.

Parked

Samba Video Share

LXC

macOS-friendly scratch volume for video editing, so the MacBook doesn't fill up. Parked in September to pay for the game server's RAM.

Parked

Side-project VM

VM

A VM I host for a friend's project. Parked in September.

Parked

Baseball ML

VM

My baseball ML pipeline. Its catch-up timer fired two seconds after the host came back from a nearly five-day freeze and finished the day's data run with nobody touching it. Parked for the game server.

Retired

pfSense

VM

Ran the SLO network from April to June 2026. Didn't survive the move, and its network card came out in September to make room for two GPUs. The VM is kept, stopped.

Observability

The goal: stop guessing whether the lab is healthy. It's three pieces now: a time-series warehouse I control (ClickHouse), a daily report that reads it (because that's what I actually look at), and a heartbeat that checks the lab from outside itself (a Cloudflare Worker).

Since a September audit, every client of the database, the heartbeat included, uses a scoped, least-privilege account.

Telegraf → ClickHouse

Agents on four hosts collect CPU, memory, disk, network and process stats every 10 seconds. Batching cut fleet INSERTs from ~1,155 a minute to ~5 and shrank ClickHouse's own query log from 3.18 GiB to 56 MiB. ClickHouse runs on 4 GB with capped caches (about 900 MiB resident) and is excluded from backups on purpose. Cattle, not a pet.

Heartbeat (Cloudflare Worker)

Writes a row every minute from Cloudflare's edge, so every outage since April shows up as a gap in its table, no matter what died inside. The lesson from September: those gaps have to page someone, not sit in a table. That alert is still on the open-issues list.

Baselines

Every daily report writes a snapshot row back into ClickHouse, so the next one can compute real 24-hour deltas, spot a gateway that rebooted overnight, and notice a changed public IP. A degraded run doesn't blind the next day's report.

Automation

Two n8n workflows run the scheduled ops, and Proxmox Backup Server runs the backups. Interactive work happens from the Claude Code ops VM.

Daily Report · Every Morning

Pulls from the Proxmox API, ClickHouse, the UniFi gateway, the ISP modem and a LAN sweep, then posts one phone-sized Discord embed that leads with only what needs me. Every source fails open: a dead dependency becomes a named "couldn't reach" line instead of killing the report. Delivery fails closed, so an undelivered report shows up as an error, never as a green run. Since October it also warns when the Home Assistant box drops off the network.

Built in Git, Previewed Offline

The report workflow is generated by a Python builder that lives in git and deploys over n8n's API, so a UI edit gets overwritten on the next deploy. A preview harness replays real past runs, plus fixtures for every source down, missed backups and hostile device names, and fails if a line won't fit on a phone.

Weekly Patch Run

SSHes a 10-host roster, runs each host's own update script, logs the results to ClickHouse, posts them to Discord and reboots what needs it, except the hypervisor and the backup server, which it never reboots.

Weekly Backups

PBS snapshots the VMs, then the containers, then garbage-collects and verifies. The game server and Homelable get their own snapshot-mode jobs, so neither is paused for a backup. A restic repo of the Proxmox and PBS configs lands on the ZFS mirror afterwards, restorable on a laptop with no PBS at all.


  
  daily-report · n8n · 2026-10-10
Warning: Homelab ยท Oct 10
Warning: PVE needs a reboot into the
  newer kernel next step: reboot when
  guests can restart

 Guests           Telegraf
8/8 up            4/4 hosts

 Proxmox          Gateway
up 14d ยท mem 80%  up 29d ยท 48ยฐC

 WAN 24h
100% ยท 5 ms

 Storage
  
  TANK      58% 522/899G
  ch-data    1% 2.0/196G
          -0.1G/day
  ssd-dev   79% 180/228G
  local     55% 36/66G
  lvm       39% 54/137G
  

 Network
WAN online
Traffic 24h 42.4 GB down ยท 2.7 GB up

Parked: 7, all expected
daily-report ยท n8n ยท morning run
The report from October 10, 2026, trimmed for the page: the public IP, version strings, the weekday, the days-ago counts, household details and guest names are taken out, and the parked list is condensed. The yellow is real: a newer kernel was installed and the host hadn't rebooted into it yet. The parked list is deliberate. After pfSense was retired, the dead VM raised a critical every single morning, which is how a report trains you to stop reading it. Parked guests, retired pfSense included, now sit on an expected-down list (hence 7 in the report), and a listed guest found running gets an info line, so the list can't quietly go stale.

Local OCR on a 2019 GPU

The RX 5700 can't be passed through to a VM: it shares an IOMMU group with the SATA controller and the host's network port, and its Navi 10 chip has a reset bug with no fix on current Proxmox kernels. So its render node is shared into an unprivileged container instead. No passthrough, no host driver change, no reboot, and one command to undo.

Receipts in, JSON out

Inside the container, llama.cpp runs on Vulkan as an OpenAI-compatible router. GLM-OCR (0.9B) reads the page, Qwen3-4B turns the text into JSON under a schema grammar, and Qwen3-VL-2B handles questions about images. All three fit in 8 GB of VRAM. PDFs with a text layer skip the GPU entirely.

First real test: 89 photos from my own phone, eight of which weren't receipts at all. Store, date and total were filled in on 78, 73 and 78 of the 89, and nearly every miss was a non-receipt or a cropped date. The arithmetic was humbler: line items summed to the subtotal on 34 of 74, and subtotal plus tax plus tip matched the total on 47 of 70. Mean time was 20 seconds. Useful, not trustworthy without checks downstream, which is exactly why it got measured before it got wired into anything.

It also taught me some GPU ops. Under load the card occasionally drops its Vulkan device, after which the model server kept passing health checks while failing every request. A small API gateway inside the container now serializes GPU calls, notices the failure, restarts the model server and retries once.

GLM-OCR 0.9B · ~260 tok/s out
Qwen3-4B · JSON by grammar
3 models in 8 GB of VRAM
89 photos · 20 s mean

Model settings, throughput numbers and what broke: Local LLMs field notes.

How Traffic Gets In

Apart from a temporary game server, nothing in the lab accepts connections from the internet. The few web-facing pieces leave through outbound-only Cloudflare Tunnels, so on the web side the lab dials out and nothing dials in. Admin access goes over Tailscale.

  • public web · cloudflare tunnel · outbound only
  • admin · tailscale · private

The site you're reading is on Cloudflare Pages and has no connection to the lab. The heartbeat Worker runs on Cloudflare's edge and reaches its one ClickHouse endpoint through the tunnel, with its own scoped account. Cloudflare Tunnel is free, works from anywhere, and needs no open ports.

What Broke

Most of what I know about running this thing came from it breaking. The good stories from the rebuild:

Aug 2026

The renumber that would have broken the house

The tempting fix for docs full of old addresses was to move the new LAN back onto the old subnet so the docs would be right again. That subnet collides with the network between the ISP gateway and mine, which would have broken routing for the whole house. It got caught only because an inferred value had been marked VERIFY instead of written down as fact.

Aug 31 to Sep 6

The heartbeat that knew

The day the lab came back, an unattended upgrade installed a ClickHouse build that needed AVX, on a VM whose CPU model didn't expose it. It crash-looped 18,837 times over six and a half days. Telegraf, the report and Grafana all depended on that database, so nothing alerted, while the external heartbeat logged the outage every minute into logs nobody read. Fixed by giving the VM the host's real CPU model. Monitoring has to live off the box, and it has to page someone.

Sep 2026

"0% blocked"

Pi-hole's numbers said 0% blocked, which read like a quiet day. It had actually been bypassed: the new gateway hands itself out as the DNS server, and 1,882 queries in 30 days were all Pi-hole talking to itself. A metric that looks fine when nothing is using the service is worse than no metric.

Sep 12

Dashboards nobody opened

Grafana had two dashboards, provisioned as code. After the move its datasource pointed at a dead address, and nobody noticed, because nobody ever opened it. The Discord report is what gets read, so Grafana got stopped, and a month later the report got rebuilt to be read on a phone in ten seconds.

Sep 13

Adding GPUs renamed the network

Pulling the dual-port NIC and adding two GPUs renumbered the PCIe bus, which renamed the host's network port. The bridge came up with no uplink, every guest went dark, and the backup container gave up on DHCP. Fixed at the physical console, then the port's name got pinned to its hardware address so the next card swap can't do it again.

Sep 15 & Sep 25

A freeze that looked like a power cut

The host vanished for four days and 20 hours. The logs stopped mid-stream with no shutdown, and the router and modem had stayed up, so I read it as a power cut local to the box. Ten days later it froze again with me standing next to it: powered on, and the power button did nothing. That's a kernel hang. Both freezes came after the September 13 hardware change (two GPUs in, NIC out, new kernel). Root cause is still open, but the next hang panics, reboots in 10 seconds and leaves a crash dump. None recorded since.

Why I Built It

Infrastructure as a learning tool. Reading about pfSense or ClickHouse is not the same as cutting your home network over to a new router late at night and needing it back up before anyone notices. You remember the thing you built under pressure for real people.

It's also where my own software runs off the cloud: a self-hosted instance of Zedi, my finance app, with the GPU container being built as its local receipt reader.

And it's where I practice running AI as an operator, not a demo. A Claude Code VM does the day-to-day ops against a git-tracked inventory and issue tracker, and the rules it works under (verify with row counts, find every reference when an address changes, get a second opinion before touching the hypervisor) mostly came from something breaking.

Tech Stack

What's load-bearing today.

Proxmox VE Proxmox Backup Server restic ZFS LVM ClickHouse Telegraf n8n Discord webhooks Cloudflare Tunnel Cloudflare Workers Tailscale UniFi llama.cpp (Vulkan) GLM-OCR Qwen3 Docker Homelable Home Assistant Claude Code Linux (Debian / Ubuntu) Python Bash Node.js

Retired along the way

pfSense CE ntopng Netgear R9000