Project · ongoing

Self-hosted infrastructure

What I run today: a droplet I rent in Toronto for source control, CI, automation and a CRM, plus a Proxmox node at home. Until a 2026 flood, a 5-node Docker Swarm.

My infrastructure runs in two places: a server I rent in Toronto for the services the practice depends on, and a Proxmox node at home for storage and the house network. Until 27 July 2026 the home side was a five-node Docker Swarm, most of it on a Dell R720. A flood that night took the R720 and everything on it; the small node survived, and the services that mattered moved to the rented server.

What runs today

Remote: a droplet in Toronto

A DigitalOcean droplet that I rent and administer. Coolify deploys the services and Traefik routes them and terminates TLS.

On-prem: one node at home

A rebuild of the on-prem tier is planned. Hermes, the agent crew, stays offline until it lands.

How this site ships

This site is an Astro static build served by Netlify. The source lives on Gitea; changes land on main only through a reviewed pull request, Gitea Actions runs the quality gates on every PR, and a merge deploys to Netlify. The colophon lists where each part of the site runs and when that was last checked.

The domain, DNS, and mail never lived on the server that went down, so when the site moved to Netlify on 18 September 2026 only the build host changed.

Until July 2026: the Swarm

Before the flood, this was the platform everything I built at home ran on — including this website and the Hermes agents. It was a private cloud operated to production standards: infrastructure as code, tiered failure domains, monitoring that paged before users noticed, and a deploy pipeline with a human approval gate. The site itself ran as two replicas behind Traefik, built by Woodpecker CI and pushed to a local Docker registry on the manager node.

Topology

Stacks tiered by criticality

Services were grouped into stacks by how much their failure hurts, not by what they do. The data layer (databases, metrics storage) deployed first; access portals, surveillance, and media/apps followed; the reverse proxy fronted it all. The payoff was operational: I could drain and patch a media node without touching a database, and when something broke, the blast radius was already drawn.

Storage

A dedicated NFS server running OpenMediaVault exported three shares — service data, media, and camera footage — mounted on every node. Because persistent state lived on NFS rather than on any one VM, Swarm could reschedule most services onto another node and they came back with their data.

Edge and networking

Observability

Configuration sync

All five nodes stayed in sync through a bidirectional rsync job that ran every 10 minutes from cron: scripts, stack files, and service configs. I could edit a config on any node and it propagated everywhere — with node-specific configs deliberately excluded. A systemd unit brought the whole cluster up in dependency order, data layer first.

The one Compose exception

Media automation (the ARR stack) routed all its traffic through a WireGuard container using Docker’s network_mode: service: — every app shared the VPN container’s network namespace, so if the tunnel dropped, nothing leaked. Swarm doesn’t support sharing a network namespace between services, so this one stack ran under plain Docker Compose on a single node while everything else was Swarm. Knowing where your orchestrator’s model ends is worth more than forcing everything into it.

What carried over

Nothing there was a toy deployment. The point of the lab was that the patterns — tiered failure domains, GitOps, single ingress, metrics-first observability — are the same ones I use at work, practiced on infrastructure where I owned every layer. They carried over: Traefik still fronts the services, and Gitea is still the trust boundary for every change.