Home Server

April 7, 2024

Introduction

I have been running some server or another from my garage for nearly the past ten years at this point.

It started out as mostly hosting game servers for my friends, but during the pandemic I got into both home automation and hosting a wider stack of server applications and it has grown since then.

The setup is split across two main VLANs:

  • Media / Application Network - Public-facing services, the media stack, and general applications

  • Internal / Home Network - Home Assistant, cameras, automation, and internal-only services


Media & Application Server

The main workhorse machine running a fully containerized stack via Docker.

Media Stack

The core of this server is a self-hosted media pipeline built around Plex.

ServiceRole
PlexMedia streaming server
TautulliPlex analytics and watch history
Plex Meta ManagerAutomated metadata and collection management

A suite of content management services handles automated tracking, downloading, and organization of the media library:

ServiceRole
TV ManagerMonitors and organizes TV show libraries
Movie Manager / 4KMonitors and organizes movie libraries
Music ManagerMonitors and organizes music libraries
Book / Audiobook ManagerMonitors and organizes book and audiobook libraries
Subtitle Manager / 4KAutomated subtitle fetching and syncing
Indexer AggregatorUnified indexer management across all content managers
Transcoding ServiceAutomated media transcoding and format optimization

Infrastructure & Auth

ServiceRole
AuthentikSelf-hosted SSO and identity provider
Authentik LDAP OutpostLDAP integration for Authentik
PostgreSQLDatabase backend for Authentik
RedisCache layer for Authentik
SWAGReverse proxy and SSL certificate management
WireguardVPN for secure remote access
PortainerDocker container management UI
WatchtowerAutomated container image updates
AutohealAutomatic restart of unhealthy containers
Docker RegistryPrivate self-hosted container registry

Utilities

ServiceRole
NextcloudSelf-hosted personal cloud storage
MariaDBDatabase backend for Nextcloud
Calibre / Calibre-WebEbook library management
VS Code ServerBrowser-based code and text editor
FileBrowserWeb-based file manager (also has an api for downloading)
SmokepingNetwork latency monitoring
OrganizrUnified dashboard for all services through the sso
Static File ServerSimple file hosting

Game Servers

A Minecraft SMP server for my younger brother has been running for years and is one of the longest running services the server! I have also hosted rust, cs, racing, and my friends self developed game's servers!


Home Management Server

Runs on a separate VLAN - isolated from the media server and not publicly accessible.

ServiceRole
Home AssistantCentral home automation hub
FrigateAI-based NVR for security cameras

Frigate runs a local AI model on camera feeds for object detection it also has included a bird detection pipeline!


Storage

DeviceRole
TrueNAS ScalePrimary NAS on the media network, ZFS for redundancy and data integrity
Synology NASSecondary NAS at my grandparents' and my parents house, connected via site-to-site VPN for off-site backups