homelab diagram
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#263238', 'primaryTextColor': '#fff', 'primaryBorderColor': '#78909c', 'lineColor': '#b0bec5', 'tertiaryColor': '#fff', 'mainBkg': '#263238'}}}%%
flowchart TD
%% --- Color Definitions (High Contrast) ---
classDef cloud fill:#0d47a1,stroke:#64b5f6,stroke-width:2px,color:#fff
classDef home fill:#1b5e20,stroke:#81c784,stroke-width:2px,color:#fff
classDef device fill:#37474f,stroke:#eceff1,stroke-width:2px,rx:5,ry:5,color:#fff
classDef stack fill:#212121,stroke:#607d8b,stroke-width:1px,stroke-dasharray: 5 5,color:#eceff1
%% --- Internet Entry ---
Internet((Internet))
style Internet fill:#fff,stroke:#333,color:#000
%% ==========================================
%% 1. ORACLE CLOUD (TOP FLOOR)
%% ==========================================
subgraph OracleCloud [Oracle Cloud - Free Tier]
direction TB
%% Phoenix and Dobby Side-by-Side (Small enough to fit)
subgraph PhoenixBox [Phoenix - Intel VM]
class PhoenixBox device
direction TB
P_Traefik[Traefik Proxy]
subgraph PhoenixInfra [Infrastructure]
class PhoenixInfra stack
direction TB
P_WG[WG Interface 10.8.0.1]
P_Fail2Ban[Fail2Ban]
P_Watchtower[Watchtower]
P_Agent[Portainer Agent]
end
subgraph PhoenixApps [Apps]
class PhoenixApps stack
P_Kuma[Uptime Kuma]
P_Dash[Traefik Dashboard]
end
end
subgraph DobbyBox [Dobby - ARM VM]
class DobbyBox device
direction TB
subgraph DobbySvcs [Services]
class DobbySvcs stack
direction TB
D_Wing[Pterodactyl Wing]
D_Agent[Portainer Agent]
D_MC[Minecraft Cluster]
end
end
end
%% ==========================================
%% 2. HOME NETWORK (LOWER FLOORS)
%% ==========================================
subgraph HomeNet [Home Network - Deltona]
direction TB
Unifi[Unifi Router]
class Unifi device
%% --- Floor 1: Firebolt (The Main Server) ---
subgraph FireboltBox [Firebolt - Ubuntu Server]
class FireboltBox device
direction TB
F_Traefik[Traefik Internal]
F_WG[WG Interface 10.8.0.5]
subgraph FireboltInfra [Infrastructure]
class FireboltInfra stack
direction TB
F_Auth[Authentik IDP]
F_MySQL[MySQL DB]
F_Homepage[Homepage]
F_Portainer[Portainer Server]
F_Autoheal[Autoheal]
end
subgraph FireboltAdmin [Admin Tools]
class FireboltAdmin stack
direction TB
F_Bitwarden[Vaultwarden]
F_Bookstack[BookStack Wiki]
F_Duplicati[Duplicati]
F_FileBrowser[FileBrowser]
F_PMA[phpMyAdmin]
end
subgraph FireboltMedia [Media Stack]
class FireboltMedia stack
direction TB
F_Plex[Plex Media Server]
F_Overseerr[Overseerr]
F_Sonarr[Sonarr]
F_Radarr[Radarr]
F_Prowlarr[Prowlarr]
F_Tautulli[Tautulli]
F_Unpackerr[Unpackerr]
F_Qbit[qBittorrent - VPN]
F_Flaresolverr[FlareSolverr]
F_Doplarr[Doplarr]
end
subgraph FireboltGames [Games Stack]
class FireboltGames stack
direction TB
F_PteroPanel[Pterodactyl Panel]
F_PteroWing[Pterodactyl Wing]
F_PteroDB[Panel DB & Redis]
end
end
%% --- Floor 2: Norbert (Storage & Aux) ---
subgraph NorbertBox [Norbert - Unraid]
class NorbertBox device
direction TB
N_WG[WG Interface 10.8.0.2]
subgraph NorbertInfra [Infra & Apps]
class NorbertInfra stack
N_Agent[Portainer Agent]
N_Hass[Home Assistant VM]
N_LLM[LLMCord AI]
end
subgraph NorbertGames [Game Node]
class NorbertGames stack
N_Wing[Pterodactyl Wing]
N_ArkBot[Ark Discord Bot]
N_MCTest[Minecraft Test]
end
N_Storage[Media Storage]
end
%% --- Floor 3: PiHole (Utility) ---
subgraph PiHoleBox [Raspberry Pi]
class PiHoleBox device
direction TB
PI_SVC[DNS Sinkhole]
PI_VPN[PiVPN Ingress]
end
end
%% ==========================================
%% ALIGNMENT (THE MAGIC STACKING)
%% ==========================================
%% 1. Force Oracle ABOVE Home
OracleCloud ~~~ HomeNet
%% 2. Force Firebolt ABOVE Norbert ABOVE PiHole
FireboltBox ~~~ NorbertBox ~~~ PiHoleBox
%% 3. Force Internal Stacks
FireboltInfra ~~~ FireboltAdmin ~~~ FireboltMedia ~~~ FireboltGames
%% ==========================================
%% CONNECTIONS
%% ==========================================
%% Internet to Cloud
Internet == HTTPS ==> P_Traefik
%% Cloud to Home (Tunnel)
P_Traefik --> P_WG
P_WG ==>|Tunnel| F_WG
F_WG --> F_Traefik
%% Internal Routing (Simplified for clean lines)
F_Traefik --> FireboltInfra & FireboltAdmin & FireboltMedia & FireboltGames
F_Traefik -.->|LAN Proxy| N_Hass & PI_SVC
%% Split Routing (GameNode1)
P_WG -.->|Direct| N_WG
N_WG -.-> NorbertGames
%% Game Ports
Internet -- Ports --> DobbySvcs
Internet -- Ports --> Unifi
Unifi -- Port Fwd --> FireboltGames
Unifi -- Port Fwd --> NorbertGames
Unifi -- Port Fwd --> PI_VPN
%% Management Links
F_Portainer -.->|Manage| P_Agent & D_Agent & N_Agent
FireboltMedia -.->|NFS| N_Storage
%% Styles
class OracleCloud cloud
class HomeNet home