infrastructure.mmd #2
Owner
```mermaid
graph LR
%% STYLE DEFINITIONS (Cyber/Dark Theme)
classDef base fill:#1e1e1e,stroke:#333,stroke-width:2px,color:#fff;
classDef external fill:#263238,stroke:#546e7a,stroke-width:2px,color:#fff;
classDef security fill:#3e2723,stroke:#ff5252,stroke-width:3px,color:#fff,shadow:0 0 5px #ff5252;
classDef core fill:#212121,stroke:#ffab00,stroke-width:3px,color:#fff;
classDef vault fill:#003300,stroke:#00e676,stroke-width:2px,color:#fff;
classDef tunnel stroke:#d500f9,stroke-width:4px,stroke-dasharray: 5 5,color:#d500f9,fill:none;
%% 1. UNTRUSTED WORLD
subgraph WORLD [🌎 UNTRUSTED WORLD]
direction TB
TG[Telegram / WhatsApp]:::external
VOIP[Binotel / Ringostat]:::external
APP[KeyCRM Mobile App]:::external
ADMIN[💻 Admin Laptop]:::base
end
%% 2. AI CLOUD (ISOLATED)
subgraph CLOUD [☁️ AI PROCESSING]
OPENAI[OpenAI API <br/> Stateless / No Retention]:::external
end
%% 3. SECURE PERIMETER (GERMANY)
subgraph FORTRESS [🏰 CONCORDE SECURE PERIMETER]
direction LR
%% GATEWAY
subgraph GATE [🛡️ SECURITY GATEWAY]
CADDY[🔒 Caddy Reverse Proxy <br/> TLS 1.3 / Firewall]:::security
end
%% INTERNAL NETWORK
subgraph INTERNAL [🔒 INTERNAL DOCKER NET]
N8N{n8n Orchestrator}:::core
subgraph DATA [💾 DATA VAULT]
PG[(PostgreSQL)]:::vault
NEO[(Neo4j Graph)]:::vault
REDIS[(Redis Cache)]:::vault
end
end
end
%% CONNECTIONS
TG & VOIP & APP == Encrypted HTTPS ==> CADDY
CADDY --> N8N
N8N <--> OPENAI
N8N --> PG & NEO & REDIS
%% THE SECRET TUNNEL (Bypassing Caddy)
ADMIN == 🔑 SSH KEY TUNNEL ==> NEO
linkStyle 7 stroke:#d500f9,stroke-width:4px,stroke-dasharray: 5 5;
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?