🏗️ Server Architecture

Model: Hardened Hub v2.0

The homeserver follows a Layered Architecture designed for security, observability, and modularity. It is split into two logical tiers: the Control Plane (Infrastructure) and the Data Plane (Applications).

1. Physical & Host Layer

The foundation of the system running directly on the host hardware or virtualized OS.

  • OS: Linux (Generic).
  • IP Sync: A host-level systemd service (scripts/dynu/) monitors the public IP and updates Dynu DDNS records.
  • Docker Engine: Orchestrates all containerized services.

2. Infrastructure Layer (Control Plane)

The management tier that handles routing, identity, and system maintenance.

🌐 Edge Gateway

Traefik v3: Reverse Proxy & SSL (DNS-01 Challenges). Routes subdomains like gitea.*.

🔐 Identity

Authelia: SSO & 2FA provider. Forward Auth integration with Traefik.

🛡️ Socket Proxy

Protects the Docker socket from container-escape vulnerabilities.

🛠️ Maintenance

Portainer (Management), Watchtower (Updates), and Diun (Notifications).

3. Application Layer (Data Plane)

Consumer-facing services isolated from the core infrastructure.

  • Service Discovery: Homepage dashboard provides a unified portal.
  • SSO Integration: Critical apps (Gitea, Dozzle) utilize Authelia Forward Auth.
  • Isolation: Services have no direct host access and communicate over internal networks.

4. Networking Model

Traffic flow is segmented to minimize the blast radius of a potential breach.

🛡️ Security Posture

Current hardening measures enforced across the Hub: