Перейти к содержанию

Deployment Diagram

flowchart TB
    subgraph prod [Production]
        LB[Load Balancer TLS]
        WebStatic[web-app static CDN]
        API1[api instance 1]
        API2[api instance 2]
        Bot1[telegram-bot]
        RT1[realtime WS]
        PG[(PostgreSQL)]
        Redis[(Redis)]
        NATS[NATS]
        MinIO[MinIO S3]
    end
    Users[Users] --> LB
    LB --> WebStatic
    LB --> API1
    LB --> API2
    LB --> RT1
    API1 --> PG
    API2 --> PG
    API1 --> Redis
    Bot1 --> NATS
    RT1 --> Redis
    API1 --> MinIO

Phase 1: single api container (modular monolith)

Исходник: deployment.mmd