For engineers
Architecture and service catalog
Every component is in Git and changed by pull request. The decisions are written up in ADR 0001.
From change to production
- ChangePull request with a ticket
- CheckBuild, guard, Lighthouse, axe
- MergeProtected main branch
- DeployImage on the homelab, Pages as fallback
- DNSTerraform plan, manual apply
- WatchOutside monitor, every few hours
The monitor runs on GitHub, not on my hardware, so it still reports when the homelab is down.
Service catalog
U1
Site
LiveAstro, served from the homelab, Cloudflare Pages as fallback
- Primary
- nginx on K3s, through a Cloudflare Tunnel
- Fallback
- Cloudflare Pages, same build
- Switch
- Cloudflare Worker, header X-Served-By
- Third-party requests
- None (fonts self-hosted)
- Themes
- Auto, light, dark
- Back online
- 8 October 2026
How it works
Every page is plain HTML generated at build time. Since 17 October 2026, bvrinfra.in is served from my homelab: CI builds the site into an nginx container image, which runs on the K3s cluster and is reached through a Cloudflare Tunnel that opens no ports at home. A Cloudflare Worker sits in front of every request. It tries the homelab first, and if that takes more than 2.5 seconds, returns a server error or the tunnel is down, it serves the same build from Cloudflare Pages instead. A response header, X-Served-By, says which one answered.
Site source on GitHub
U2
CI
LiveBuild check on every pull request
- Direct pushes to main
- Blocked
- Site check
- npm ci, build, page check
- Terraform check
- fmt, init, validate
- Required to merge
- A passing build
How it works
Nothing is pushed straight to main; a branch ruleset blocks it. Every change arrives as a pull request, and GitHub Actions does a clean install and full build, then checks every page exists. Changes to the Terraform code get a format and validate check as well.
CI runs on GitHub
U3
DNS as code
LiveTerraform, Cloudflare provider
- Records managed
- 10
- Dead records removed
- 22, on 8 October 2026
- Apply
- Manual, never automatic
- API token scope
- DNS edit on this one zone
How it works
All DNS records for bvrinfra.in are defined in Terraform. A pull request gets a plan from HCP Terraform showing the exact change. After merge, the apply waits for a person to confirm it. Every record is protected against accidental deletion.
Terraform on GitHub
U4
Monitoring
LiveUpptime on GitHub Actions
- URLs checked
- Home, www, Projects
- Interval
- Scheduled every 5 minutes; every few hours in practice
- Runs on
- GitHub, not my hardware
- Status page
- status.bvrinfra.in
How it works
A scheduled GitHub Actions job requests three pages of this site and records the result. It is scheduled every five minutes, but GitHub delays and drops scheduled runs, so in practice it runs every few hours. If a check fails, it opens an issue, which emails me; when the site recovers, the issue closes. The results publish to a public status page.
Open the status page
U5
Autonomous AI Workforce
Live3 self-hosted AI agents with private memory
- Cost & Compute
- 90% less memory than standard cloud setups
- Active AI Workforce
- 3 Agents (Code, Career, Research)
- Data Sovereignty
- 100% Private (No data leaves private hardware)
- Network Security
- Zero open ports (Bank-grade Cloudflare Shield)
How it works
Instead of paying thousands of dollars for heavy cloud servers, this platform runs 3 autonomous AI workers on ultra-lightweight private containers. The agents automatically review code, conduct research, and optimize resumes. If the home server ever loses power, the public site keeps running seamlessly from the cloud edge.
BVR Nexus Architecture
U6
Backups
BuildingDaily backups, first restore tested
- Schedule
- Daily at 02:00
- Kept
- 7 daily, 4 weekly
- First restore test
- 10 October 2026, old system, booted
- Off-site copy
- Old system in Cloudflare R2; app data once apps run
- Counts as done when
- A restore brings the services back
How it works
The homelab's three virtual machines are built from code: Terraform creates them and installs the cluster from the repository. Proxmox also backs them up to a second disk in the same host at 02:00 each night, keeping 7 daily and 4 weekly copies; the new cluster's first backup ran on 15 October 2026. On 10 October 2026 I restored a backup of the old system as a separate machine with its network cut, and it booted. The old system's final backup is also stored outside the house, in Cloudflare R2, checked against its checksum. The new cluster runs no applications yet, so it has no application data to copy off-site; that copy starts with the first service that stores data. Still missing: a restore test with the services running.
Managers can read the same work as a status report. Projects beyond this site are on the projects page.