Bedrock
Infrastructure I run myself, for apps I use
From two Supabase projects on a free plan to three boxes I rent for €17.97 a month, with nothing paid to anyone else.
Why
My apps outgrew free hosting: three apps on a plan that allows two projects, and nowhere for anything long-running. But the real reason is one stack. Every hour I spend learning it pays off in every app I build.
One database per app
Each app has its own database, folder and backup.
Everything is a file
Schema, hooks, services and routing all live in Git.
Merge to deploy
Merging to main deploys the box. Restores are a runbook.
€0 to anyone else
Free tiers and self-hosting for everything but the boxes.
How it’s built
- Boxes
- Three Hetzner CX23: Helsinki and Nuremberg
- In production
- Since 16 September 2026
- Backups
- Nightly to Cloudflare R2, hourly for Propaganda
- Monthly bill
- €17.97 before VAT
- Tags
- Hetzner, PocketBase, Supabase, Caddy, Cloudflare
The full story
From two Supabase projects to three rented servers I run myself
In August my apps lived on other people's free plans. Today they run on three small servers I rent from Hetzner for €5.99 a month each, and I pay nobody else anything. This is how that happened, in four moves over ten weeks, and why each one made sense at the time.
Bedrock is the name of the repository that runs all of it.
1. Two Supabase projects, and a ceiling
Someday, Shelf and Propaganda all started on Supabase. It is a lovely product, and its free plan allows two projects. I had three apps and a website on the way, so Shelf had to live inside Propaganda's project to exist at all. Every new app would make that worse.
Serverless was the other wall. Vercel's functions stop after 60 seconds on the free plan and Cloudflare's Workers after 30 seconds of CPU. Anything long-running, like an agent writing a draft, had nowhere to live.
2. One box, a PocketBase per app
On 15 September I rented one Hetzner box in Helsinki: 2 vCPU, 4 GB, €5.99 a month. Each app got its own PocketBase, a single Go binary with a database, sign-in and an API, in its own folder with its own nightly backup to Cloudflare R2. Caddy sits in front and gives every app one hostname: the app at the root, its API under /api.
The real reason wasn't the price. It was one stack. Three apps on PocketBase meant one set of patterns to get good at, and every hour spent learning it paid off three times. Two stacks known partly is worse than one known deeply.
The move took two days. Someday moved 70 items, Shelf 215 books, and Propaganda its posts and users, each checked against a fresh dump before the switch. Every Supabase project stayed alive for 30 days as a way back. The box has served the apps in production since 16 September. Raft, then still called Timber, joined the box on 27 September.
3. Supabase again, self-hosted
Three weeks later Propaganda became multi-tenant: every post, draft and comment now belongs to a company, and the rules about who sees what had to be enforced by the database itself. Postgres row-level security does that well, and PocketBase doesn't do it the same way. So on 5 October Propaganda moved to Supabase again, this time self-hosted on the same box: Postgres, sign-in, a REST API and realtime, each in its own container, and since 18 November backed up every hour.
It looks like a U-turn. It isn't one. I left Supabase's hosting, not Supabase. The small apps stayed on PocketBase, where they belong, and the one app that needed Postgres got Postgres, on a server I control and at no extra cost.
4. Three boxes
Production on one small box was fine until CI and releases started to compete with it for memory. On 9 October I rented a second box in Nuremberg, Dev, for a full copy of Propaganda to test against and a check on production every minute. Over the next weeks it took over everything else around production: the release workflow, the merge pipeline (a service of its own since 13 November) and, from 9 November, every CI job, on runners of our own. Since November production builds nothing; it serves each release's one build.
On 7 November Propaganda's app left Vercel too. Vercel's free plan started challenging the requests my server forwarded to it, with no way to exempt them, so the app moved onto the box. On 13 November a third box, outreach-1, started serving booking pages with a self-hosted Cal.diy, and on 22 November it got room for Someday, Shelf and Raft.
Bedrock · Helsinki
Caddy · TLS for every hostPropaganda: app, API, Supabase, workerPocketBase for the small appsProduction only
Dev · Nuremberg
CI runners and the merge pipelineReleases and deploysA full test copy of PropagandaWatches production every minute
outreach-1 · Nuremberg
Cal.diy bookingRoom for Someday, Shelf, RaftNightly backups to R2The newest box
5. €17.97, and nothing else
Three boxes cost €17.97 a month before VAT. That is the whole bill. DNS and backups are on Cloudflare's free tier, the remaining frontends on Vercel's free plan, CI runs on my own runners, and Supabase and the booking tool run on my boxes. Supabase Pro alone would cost more than all three.
The price was never the argument, and it still isn't. What I bought is a place where long-running work can run, a database per app that nobody else can switch off, and a repository that describes all of it. If one of the three boxes burns down, there's a written runbook, and a backup from last night or last hour, to bring it back.