Torben’s homelab, poured floor by floor

A homelab with seven floors
Everything behind my websites has to run somewhere. In my case, it lives in a small homelab, organised like a building with seven floors.
I have a habit of building things, taking them apart and then building them again, hopefully a little better than before. Over time, that habit has grown into the infrastructure behind fanø.net, letshygge.com, zenk.dk and jette-ai.com.
Rather than treating it as a collection of servers and containers, I think of it as a building. There are seven levels, each with its own job. The websites live at the top, while everything they depend on sits underneath.
And because I don't particularly enjoy having to remember how I built something six months ago, most of it is described in code. If something breaks badly enough, I want to be able to build it again rather than spend a weekend trying to remember what I did last time.
This is both a working homelab and a learning project. I want to understand what I'm running, why it works and, ideally, how to make it reproducible.
The building at a glance
The seven levels are:
- Level 6 – Showrooms: The websites and public-facing projects.
- Level 5 – Workshops: The applications and services doing the actual work.
- Level 4 – Keys: Identity, authentication and access.
- Level 3 – Front door: How traffic gets in and reaches the right place.
- Level 2 – Blueprint: Configuration, automation and infrastructure as code.
- Level 1 – Hypervisor: The virtualisation and backup infrastructure.
- Ground – The line in: Internet connectivity, gateway and DNS.
Only the top floor has really been introduced so far. The rest of the building deserves a few stories of its own.
The building, floor by floor
Seven floors hold up every site on this network. Tap a floor to see what stands on it — the floors are read from the CMDB as you read.
Level 5: The workshops
This is where most of the interesting applications live.
There are separate services for automation, monitoring, documents, files and media. Some examples are n8n, Grafana, Loki, Penpot, Nextcloud, Immich and Jellyfin. Euro-Office and a few other services are also part of the plan.
I prefer keeping applications reasonably independent. It makes them easier to maintain, replace or experiment with without having to rebuild everything else around them.
Not everything is finished, of course. A homelab is rarely finished. That's probably part of the attraction.
Level 4: The keys
A building needs keys, and a collection of self-hosted applications needs a sensible way to manage access.
Authentik provides the central identity and sign-in service. Passkeys are the preferred way in, wherever the applications support them.
The idea is simple: one place to manage identities and access instead of a different login experience for every application.
There is still work to do here, particularly around how guests, users and administrators should access different parts of the environment.
Level 3: A new front door
The front door is where things have changed most recently.
I rebuilt the way external traffic reaches the services inside the homelab. Public DNS names now use IPv64's CDN service, CDN64, through node64. Node64 runs as a container on a small virtual machine called tunnel01 and maintains an outbound tunnel to IPv64.
The interesting part is that the services using this arrangement don't need publicly exposed ports on my internet connection.
Caddy still does the internal routing from edge01. It receives incoming requests and sends them to the right service. Names that come in through the router continue to be handled there as well.
It's a slightly different way of opening the front door, but one that gives me more control over how the services are exposed.
Levels 2 and 1: The blueprint and the building itself
There is one rule I keep coming back to:
If I cannot describe a machine in code, I don't really have control over how it is built.
That's why Ansible is at the heart of the setup. The machines and their configuration are described in playbooks, secrets are kept in an encrypted vault, and Forgejo holds the repositories.
I also made a deliberate decision when rebuilding the environment: rebuild, don't adopt. Instead of taking existing machines and gradually patching them into the new setup, I replaced them with machines built from their descriptions.
Proxmox provides the virtualisation underneath. There are two Proxmox hosts at two different sites, with Proxmox Backup Server taking care of backups. Proxmox itself is managed through its API, using a dedicated account with only the permissions needed for the job.
It's perhaps not the quickest way to get something running. But it makes the next rebuild considerably less mysterious.
Ground level: The connection to the outside world
Everything ultimately depends on a fairly ordinary collection of things: a UniFi gateway, an internet connection and DNS services at IPv64.
It's not the most exciting part of the building, but without it none of the floors above would be particularly useful.
What's next?
This article is the map, not the complete documentation.
I'll take the levels one at a time and write about the decisions, the things that worked, the things that didn't, and the occasional detour along the way.
It's Torben's project, built out of curiosity and a desire to understand the technology rather than just make it work.
And if there's one thing I've learned from building it, it's that getting something running is usually the easy part. Being able to build it again is the interesting bit.