Backing Up a Homelab as Code: Docker Configs to a Private Git Repo, Without Leaking Secrets
If my main Docker host died tomorrow, how fast could I rebuild it? For a long time the honest answer was “slowly, and from memory.” The fix is to treat the box’s configuration as code: every docker-compose.yml, Dockerfile, and config file committed to a private git repo, so reimaging is a git clone and a handful of docker compose up commands.
The trap is that a live Docker tree is a minefield of secrets — .env files, TLS private keys, API tokens hardcoded into compose files — and pushing any of them to GitHub, even a private repo, is a bell you can’t fully un-ring. This post is the repeatable procedure I landed on: what to commit, what to never commit, and the automated checks that keep the second category out.
Own Your Devices: Building a Reliable Home Network Infrastructure
Tired of overworked ISP-provided modems and unreliable WiFi? This guide covers how I built a robust home network infrastructure using OPNSense, OpenWrt, and strategic hardware redundancy. Learn how to separate network functions across dedicated devices for better performance, reliability, and control—all while meeting strict uptime requirements and avoiding subscription services.