OK
14
containers running
OK
16
health monitors
OK
Weekly
automated backups
OK
5-min
external heartbeat
OK
Recovers unattended
from a reboot in ~2 min
Architecture
Stack
| Layer | Tool | Why |
|---|---|---|
| Runtime | Docker Compose, one project per stack | A failure stays inside its own stack, and each stack can be redeployed on its own |
| Media | Plex + Jellyfin | Serves my Blu-ray collection; Jellyfin is the open-source fallback |
| Monitoring | Uptime Kuma, Prometheus, Grafana | Service health, metrics and history |
| Alerting | Discord + healthchecks.io | Alerts reach me in a channel I actually watch |
| Access | Tailscale | Remote admin without exposing anything to the internet |
| Config | Private Git repo | The repo is the source of truth for the box |
Decisions & tradeoffs
No auto-deploy.
Changes go out from my workstation over SSH, one stack at a time, as a dry run by default. The server holds no Git credentials. Tradeoff: slower than CI, and nothing changes without my approval.
A heartbeat that can't lie.
Every 5 minutes a cron job pings an external service, but only if local monitoring answers. If the box, the network or the monitor dies, I get paged from outside. A watchdog running on the box it watches can't report its own death.
Monitors tiered by impact.
Every check is tagged critical, standard or family-facing, so I know what's actually urgent when something goes red.
Backups with rotation.
Weekly jobs stop the affected containers for a moment, archive config and data, and keep the last four. Known gap: they still live on the same disk until the NAS migration is done.
Built to recover unattended.
Auto-restart after power failure plus container restart policies. A planned reboot to test it brought the full stack back in about 2 minutes, with no hands on it.
Secrets out of the repo.
Credentials live in .env files that are never committed.
IncidentThe DNS outage
- What happened
- An update to my Pi-hole (network DNS) broke resolution for the whole house.
- Impact
- Total network outage; recovering meant removing it and resetting network settings.
- Root cause
- A single point of failure. Every device depended on one DNS box, with no fallback.
- What I changed
- The redesign keeps DNS isolated from the rest of the lab, puts a fallback resolver in place, and was written and reviewed as a plan before anything was deployed.
Roadmap
- In progress
NAS migration
Move media and storage off the mini, take backups off the box
- Planned
UPS + graceful shutdown
- Planned
Isolated Pi-hole with failover DNS
- Planned
Mini rack
- Planned
Home Assistant
- Planned
UniFi networking
Config lives in a private repository. Happy to walk through it in an interview.