homelab diagram
%%{init: {'theme': 'dark', 'themeVariables': { 'lineColor': '#eceff1', 'textColor': '#eceff1', 'mainBkg': '#263238', 'nodeBorder': '#eceff1' }}}%%
flowchart TD
%% --- Styles ---
classDef cloud fill:#01579b,stroke:#4fc3f7,stroke-width:2px,color:#e1f5fe
classDef home fill:#1b5e20,stroke:#66bb6a,stroke-width:2px,color:#e8f5e9
classDef device fill:#37474f,stroke:#eceff1,stroke-width:2px,rx:5,ry:5,color:#ffffff
classDef stack fill:#263238,stroke:#546e7a,stroke-width:1px,stroke-dasharray: 5 5,color:#b0bec5
%% --- External World ---
Internet((Internet))
style Internet fill:#ffffff,stroke:#333,color:#000
%% ==========================================
%% ORACLE CLOUD (Top Layer)
%% ==========================================
subgraph OracleCloud [Oracle Cloud - Free Tier]
direction TB
%% --- Phoenix ---
subgraph PhoenixBox [Phoenix - Intel VM]
class PhoenixBox device
direction TB
subgraph PhoenixInfra [Infrastructure]
class PhoenixInfra stack
P_Traefik[Traefik Proxy]
P_WG[WG Interface 10.8.0.1]
P_Fail2Ban[Fail2Ban]
P_Watchtower[Watchtower]
P_Agent[Portainer Agent]
end
subgraph PhoenixApps [Local Apps]
class PhoenixApps stack
P_Kuma[Uptime Kuma]
P_Dash[Traefik Dashboard]
end
end
%% --- Dobby ---
subgraph DobbyBox [Dobby - ARM VM]
class DobbyBox device
direction TB
subgraph DobbySvcs [Services]
class DobbySvcs stack
D_Wing[Pterodactyl Wing]
D_Agent[Portainer Agent]
D_MC[Minecraft Cluster]
end
end
end
%% ==========================================
%% HOME NETWORK (Bottom Layer)
%% ==========================================
subgraph HomeNet [Home Network - Deltona]
direction TB
Unifi[Unifi Router]
class Unifi device
%% --- Firebolt (The Heavy Lifter) ---
subgraph FireboltBox [Firebolt - Ubuntu Server]
class FireboltBox device
direction TB
F_Traefik[Traefik Internal]
F_WG[WG Interface 10.8.0.5]
%% Note: I removed the intermediate 'Services' box to save space
subgraph FireboltInfra [Infrastructure]
class FireboltInfra stack
direction TB
F_Auth[Authentik IDP]
F_MySQL[MySQL DB]
F_Homepage[Homepage]
F_Portainer[Portainer Server]
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
%% Grouping slightly to save vertical space
F_Plex[Plex Media Server]
F_Arr[Sonarr / Radarr / Prowlarr]
F_Overseerr[Overseerr]
F_Tautulli[Tautulli]
F_Download[qBit / Unpackerr / Flare]
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
%% --- Norbert ---
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
%% --- PiHole ---
subgraph PiHoleBox [Raspberry Pi]
class PiHoleBox device
direction TB
PI_SVC[DNS Sinkhole]
PI_VPN[PiVPN Ingress]
end
end
%% ==========================================
%% ALIGNMENT & CONNECTIONS
%% ==========================================
%% Force Firebolt Vertical Stack (Crucial for width control)
F_Traefik ~~~ FireboltInfra ~~~ FireboltAdmin ~~~ FireboltMedia ~~~ FireboltGames
%% Traffic Flows
Internet == HTTPS ==> P_Traefik
%% The Tunnel
P_Traefik --> P_WG
P_WG ==>|Tunnel| F_WG
F_WG --> F_Traefik
%% Internal Routing (Simplified arrows to groups instead of individual apps to reduce clutter)
F_Traefik --> FireboltInfra & FireboltAdmin & FireboltMedia & FireboltGames
F_Traefik -.->|LAN Proxy| N_Hass & PI_SVC
%% Split Routing
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
F_Portainer -.->|Manage| P_Agent & D_Agent & N_Agent
FireboltMedia -.->|NFS| N_Storage