• 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

Homelab1 architectureInternet to a fiber router. The router links at 10G to a NAS for storage, with migration in progress, and at 2.5G to Homelab1, a Mac mini running Docker. Its stacks: Media with Plex and Jellyfin; Monitoring with Uptime Kuma, Prometheus and Grafana; an Ops bot that sends Discord alerts for disk and health; and a LAN-only Control Room dashboard. Remote access is Tailscale only, with no open ports. Alerts flow from Uptime Kuma and healthchecks.io to Discord.InternetFiber routerNASStorage, migration in progressHomelab1 · Mac miniDockerMediaPlexJellyfinMonitoringUptime Kuma → Prometheus→ GrafanaOps botDiscord alerts fordisk and healthControl Room dashboardLAN-onlyNotesRemote access is Tailscale only,with no open ports.Alerts: Uptime Kuma + healthchecks.io→ Discord.10G2.5GHomelab1 architectureInternet to a fiber router. The router links at 10G to a NAS for storage, with migration in progress, and at 2.5G to Homelab1, a Mac mini running Docker. Its stacks: Media with Plex and Jellyfin; Monitoring with Uptime Kuma, Prometheus and Grafana; an Ops bot that sends Discord alerts for disk and health; and a LAN-only Control Room dashboard. Remote access is Tailscale only, with no open ports. Alerts flow from Uptime Kuma and healthchecks.io to Discord.InternetFiber routerNASStorage, migration in progressHomelab1 · Mac miniDockerMediaPlex · JellyfinMonitoringUptime Kuma → Prometheus → GrafanaOps botDiscord alerts for disk and healthControl Room dashboardLAN-onlyNotesRemote access is Tailscale only,with no open ports.Alerts: Uptime Kuma + healthchecks.io→ Discord.10G2.5G
Internet to fiber router; a 10G link to the NAS and a 2.5G link to the Homelab1 Mac mini running Docker.

Stack

LayerToolWhy
RuntimeDocker Compose, one project per stackA failure stays inside its own stack, and each stack can be redeployed on its own
MediaPlex + JellyfinServes my Blu-ray collection; Jellyfin is the open-source fallback
MonitoringUptime Kuma, Prometheus, GrafanaService health, metrics and history
AlertingDiscord + healthchecks.ioAlerts reach me in a channel I actually watch
AccessTailscaleRemote admin without exposing anything to the internet
ConfigPrivate Git repoThe repo is the source of truth for the box

Decisions & tradeoffs

  1. 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.

  2. 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.

  3. Monitors tiered by impact.

    Every check is tagged critical, standard or family-facing, so I know what's actually urgent when something goes red.

  4. 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.

  5. 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.

  6. 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.