Be Your Own Cloud · Code companion
Every block, ready to copy
The code from each chapter, in the order the book prints it. Each block says which file it belongs in, or where to run it, and which page it's on. The text is generated from the manuscript, so it matches your copy of the book character for character.
Before you paste
-
Placeholders are the book's:
yourdomain.com,192.168.1.50,Your/Timezone,YOUR_TOKEN. Swap in your own values after pasting. - Image versions are pinned to what was current in September 2026. Read each project's release notes before moving to a newer one — Chapter 27 covers how.
- Secrets go in
.env, never indocker-compose.yml(Chapter 9).
-
PART 1 — RECON
-
Why Self-Host: Threat Model for This Book
-
What You Actually Need: Hardware Decision Guide
-
Networking Prerequisites: Static IPs, DDNS, and the CGNAT Problem
-
Planning Your Buildout: A Worksheet
-
-
PART 2 — FOUNDATION
-
PART 3 — THE STACK
-
Pi-hole + Unbound: Network-Wide Ad Blocking and Private DNS
-
Vaultwarden: Your Own Password Vault
-
Nextcloud: Files, Calendar, and Contacts
-
Immich: Photos and Video, Off the Cloud
-
Jellyfin: Your Own Media Server
-
SearXNG: A Private Search Engine
-
Local AI: The Sanitiser and the Full Assistant
-
Extras Worth Running: Uptime Kuma, PrivateBin, and Others
-
-
PART 4 — MAKING IT RESILIENT
-
PART 5 — GOING FURTHER
-
APPENDICES
-
Every Compose File in One Place
-
Symptom-to-Chapter Troubleshooting Index
-
Hardware Shopping List by Budget Tier
-