@@ -1183,6 +1183,7 @@ This API is one service in the ProStaff ecosystem. The other services it integra
11831183### Deployment Architecture
11841184
11851185``` mermaid
1186+
11861187graph TB
11871188 subgraph "Clients"
11881189 FrontendApp["ProStaff.gg<br/>Front + TypeScript SPA"]
@@ -1191,6 +1192,7 @@ graph TB
11911192
11921193 subgraph "Production — Coolify"
11931194 Traefik["Traefik<br/>TLS + Let's Encrypt<br/>WebSocket proxy"]
1195+ CoolifyNode["Coolify<br/>Deploys & Manages<br/>all production services"]
11941196 end
11951197
11961198 subgraph "Rails — Puma"
@@ -1221,6 +1223,7 @@ graph TB
12211223 PandaScore["PandaScore API"]
12221224 end
12231225
1226+ %% === Conexões ===
12241227 FrontendApp -- "HTTPS REST" --> Traefik
12251228 FrontendApp -- "WSS /cable" --> Traefik
12261229 FrontendApp -- "WSS /socket" --> Traefik
@@ -1235,13 +1238,15 @@ graph TB
12351238 Router -- "full-text search" --> Meili
12361239 Router -- "publish prostaff:events:*" --> RD
12371240 Router -- "match detail · H2H" --> ES
1238- Router -- "internal JWT" --> Gateway
1241+ Router -. "internal JWT<br/>(internal only)" .-> Gateway
1242+
12391243 Cable -- "pub/sub" --> RD
1244+
12401245 Sidekiq -- "async jobs" --> PG
12411246 Sidekiq -- "queue · cache" --> RD
12421247 Sidekiq -- "reindex docs" --> Meili
12431248 Sidekiq -- "historical backfill" --> ES
1244- Sidekiq -- "internal JWT" - -> Gateway
1249+ Sidekiq -. "internal JWT<br/>(internal only)" . -> Gateway
12451250
12461251 RedisSub -- "PSUBSCRIBE" --> RD
12471252 RedisSub --> InhouseQ
@@ -1250,9 +1255,11 @@ graph TB
12501255 Gateway -- "rate limited" --> RiotAPI
12511256 Router -- "pro matches" --> PandaScore
12521257
1258+ %% === Estilos ===
12531259 style FrontendApp fill:#1e88e5
12541260 style PlayerPortal fill:#5c6bc0
12551261 style Traefik fill:#1565c0
1262+ style CoolifyNode fill:#0d47a1, stroke:#ffffff, stroke-width:3px
12561263 style Cable fill:#b1003e
12571264 style Sidekiq fill:#b1003e
12581265 style PhoenixEndpoint fill:#4B275F
0 commit comments