# workspaces

Рабочие пространства. Namespace: `workspaces`.

```mermaid
flowchart LR
    PG[(PostgreSQL)]:::data
    Redis[(Redis)]:::data
    CI[control-interface]:::peer
    Projects[projects]:::peer

    subgraph NS["ns: workspaces"]
        Frontend[deployment: frontend]:::comp
        Backend[deployment: backend]:::comp
        Frontend --> Backend
    end

    CI -->|REST| Frontend
    Projects -->|REST| Backend
    Backend --> PG
    Backend -->|cache| Redis

    classDef comp fill:#ec4899,stroke:#9d174d,stroke-width:2px,color:#fff
    classDef peer fill:#fce7f3,stroke:#9d174d,color:#000
    classDef data fill:#10b981,stroke:#065f46,color:#fff
    style NS fill:#fdf2f8,stroke:#ec4899,stroke-width:2px
```
