Gabriel Ohnstad
All projects

Summer 2025 to present · Personal project

Homelab & This Website

A TrueNAS server I planned, built and run at home, which now also serves the site you're reading. "Public web server" was on my homelab plan in 2025. This is it.

TrueNAS SCALEZFS mirrorDockernginxCloudflare Tunnel3D printingHTML / CSS

Planned like a project

I ran the homelab the way I'd run an engineering project. I wrote an objectives doc with services, required skills and hardware requirements, kept a Gantt chart, and posted weekly quad charts with goals, obstacles and fixes. I also reviewed the architecture with a mentor before buying parts. The requirements were redundant storage across at least two drives, a separate boot SSD and a cache SSD, Docker for services, and eventually a public website.

The server

The NAS is a mini-ITX build on an ASRock H270M-ITX/ac with an Intel i5-7500 and 16 GB of RAM, running TrueNAS SCALE. Two 8 TB Seagate IronWolf drives form a ZFS mirror, so either drive can die without losing data. The boot pool is mirrored across two SSDs, and a 500 GB NVMe drive serves as an L2ARC read cache. Nextcloud runs as an app with nightly snapshots kept for two weeks. I 3D-printed housings and mounts for the build.

Hosting this site

The site is hand-written HTML and CSS with a small Python build script that wraps each page in a shared header and footer. It runs on the NAS as a TrueNAS custom app with two containers. nginx serves the files read-only from their own ZFS dataset, and cloudflared opens an outbound tunnel to Cloudflare. That means no ports are open on my home network, no dynamic DNS, and HTTPS at Cloudflare's edge. Deploying is one rsync over SSH, and the build stamps a version on every asset so Cloudflare's cache never serves stale CSS or photos.