Topic · 4 posts
Self-hosting & operations
Running side projects on a home server: Docker, deploy scripts, networking, upgrades, and the failures that taught me something.
Docker internal networks for egress, after my own guard broke backups
A home-made egress allow list raced container starts and broke the nightly backup. Docker internal networks, gw_priority and one nftables rule replaced it.
· 9 min read
grep -q under pipefail: how a match made my deploy script skip the deploy
grep -q exits at the first match, the writer gets SIGPIPE (141), pipefail fails the pipeline and if ! picks the wrong branch. A repro, and the fix.
· 10 min read
Merging two repos into a monorepo: what git log, blame and --follow see
git subtree add versus filter-repo for moving repos into subfolders, measured: which history commands still work, and what happens to commit ids.
· 7 min read
Self-hosting side projects: principles and silent failures
Infrastructure in git, a small attack surface, canary deploys, and the bugs that never raised an error: pipefail, Actions concurrency, Docker bind mounts.
· 8 min read