The server under my desk.
30 containers in 10 Docker Compose stacks on one Linux box: my media, my files, my Git host and my search engine, reachable from anywhere without a static IP.
Everything here is in the repo: compose files, scripts and incident write-ups.
01 Cloudflare DNS, and caching for static Office and PDF assets
02 VPS Nginx Proxy Manager: TLS and every subdomain
03 Tailscale an encrypted hop back to the house
04 home server 10 Compose stacks, 30 containers
How a request gets home.
- No static IP, so a VPS fronts it
- My ISP only hands out static IPs on business plans. Public requests hit Cloudflare, then Nginx Proxy Manager on a small VPS, which holds the certificates and subdomains and forwards over Tailscale to the box at home.
- Admin tools stay on the tailnet
- Forgejo, dump and the office server bind only to the Tailscale address, so they never listen on the public internet. Each stack gets its own Docker network.
- It doubles as an exit node
- The server is a Tailscale exit node for IPv4 and IPv6, so my laptop and phone can route through home from anywhere.
What runs on it.
Each stack is its own Compose file, with its data on bind-mounted disks: one for Docker and databases, one for media, one for backups.
Media
- Jellyfin Streams the library as "Taflix", with my own skins (below).
- Seerr Where requests for shows and films come in.
- Bazarr Adds English subtitles automatically.
- Tdarr Keeps the original and adds 1080p HEVC and 720p H.264 copies for weak clients.
Library automation
- Sonarr, Radarr, Lidarr, Readarr Track TV, films, music and books, and pick releases.
- Prowlarr + FlareSolverr Manage the indexers, with FlareSolverr getting through Cloudflare challenges.
- qBittorrent Does the downloading.
- AudioBookRequest A request page just for audiobooks.
Files and office
- Nextcloud My own drive, on MariaDB and Redis.
- Euro-Office Edits documents inside Nextcloud, served over TLS on the tailnet.
Dev
- Forgejo My own Git host at git.taf.sh, on Postgres 18, with three Actions runners.
- dump.lab My notes and HTML dumps at dump.taf.sh. It redeploys itself on every push through Forgejo Actions.
Search and tools
- SearXNG Private search at search.taf.sh on Valkey, with a tuned engine set and a Discovery tab.
- BentoPDF My fork of a PDF toolkit at pdf.taf.sh. PDFs are processed in the browser, never uploaded.
- Homarr A start page for everything above.
From a request to a film.
The media side runs without me touching it.
- Someone asks for a show in Seerr, or an audiobook in AudioBookRequest.
- Sonarr or Radarr searches the indexers through Prowlarr.
- qBittorrent downloads it.
- The file moves into the library on the media disk.
- Bazarr adds English subtitles.
- Tdarr adds 1080p and 720p copies next to the original. It runs on the CPU, since the hardware encoders don't work on this box.
- It shows up in Taflix.
Things I built for it.
- A dashboard that knows the whole lab
- FastAPI with Jinja and Tailwind in a Material 3 style, installable as a PWA, behind a password login. It shows about 22 services with live health dots (concurrent pings, cached for 30 seconds), lists every Tailscale device with its battery through the Tailscale API, and gives each service a short link like /git or /taflix.
- Taflix skins for Jellyfin
- A fork of a Jellyfin skin-manager plugin that bundles Netflix, Abyss and Catppuccin skins in the DLL, plus a Netflix-style CSS theme. A startup script trims the nav to three libraries and renames the patched JavaScript so browsers can't keep a stale copy.
- A themed Forgejo
- 26 colour themes and a GitHub-style contribution heatmap on profiles.
- Locked-down containers
- BentoPDF runs with a read-only filesystem, every Linux capability dropped, and memory, CPU and process limits. SearXNG and BentoPDF are pinned by image digest, so an upstream tag can't change under me.
When it broke.
The parts worth writing down.
The October upgrade
About 20 images moved up in one sitting: Postgres 16 to 18 by dump and restore, and Homarr 0.15 to 2.x through its 1.10 importer. Nginx Proxy Manager then refused to start because two locations pointed at hosts that no longer existed, which runtime DNS resolution fixed. Along the way I found the server's Ethernet had negotiated down to 10 Mbps. Every step is written up in the repo.
A disk that vanished
The USB SSD holding Docker's data started reporting "medium not present". I went through a USB reset, a driver rebind, raw SCSI probes and a power cycle of that single port while keeping the other two disks mounted, and concluded it was a physical failure. Docker moved onto the system disk.
Search that quietly stopped searching Google
An audit showed the image tagged latest was stale and the Google engine had been inactive for a while. I pinned the image, reweighted the engines, and added healthchecks and new Discovery sources.
What it doesn't do yet.
- Backups
- A nightly, validated dump of Nextcloud's database goes to a separate backup disk and is kept for 14 days. Nothing is copied offsite yet.
- Updates
- By hand. Images are pinned and each upgrade is written down, which is slower than auto-updating but means I know what changed.
- Monitoring
- Docker healthchecks on the critical containers and the dashboard's health dots. No alerting yet, so I find out when I look.