docs: add lan network + numbered host circles + reachability
Updates to standalone-adaptive.svg:
1. NEW: explicit 'lan' network block (amber, 192.168.1.0/24) between Keenetic
and physical hosts — clarifies where traffic actually flows.
2. NEW: yellow numbered circles on each physical host:
- (1) odroid (manager)
- (2) xu4 (worker)
Plus matching legend entry.
3. NEW: reachability annotations — green/red dots show which nodes can see
which others (Client ⇄ Tailscale ⇄ Keenetic, gitea ❌ nginx_nginx dead,
cross-node via swarm mesh, etc). User explicitly asked for visibility.
4. Reorganized layout: xu4 moved to right column with same visual weight as
odroid, so host numbering reads left-to-right (1 → 2).
5. Compact viewBox (1400x950 instead of 1400x900) to fit the new blocks.
Kept only standalone-adaptive.svg + svg-adaptive.md + README.md.
This commit is contained in:
+35
-55
@@ -1,17 +1,41 @@
|
||||
# Production architecture
|
||||
# Production architecture — финальный вариант
|
||||
|
||||
> **Экспериментальная ветка** — несколько вариантов одной диаграммы. Выбери что нравится.
|
||||
> Каждый вариант — отдельный коммит, чтобы было видно как эволюционировало.
|
||||
> **Snapshot:** 2026-08-27 · sources: `docker_socket_proxy` (read-only) + gitea admin API + gitea_server logs.
|
||||
|
||||
> Snapshot: 2026-08-27 · sources: `docker_socket_proxy` (read-only) + gitea admin API + gitea_server logs.
|
||||
## Что в этой папке
|
||||
|
||||
## Что показывает (все варианты)
|
||||
| Файл | Назначение |
|
||||
|---|---|
|
||||
| `svg-adaptive.md` | **Главный файл** — preview в Gitea, обёртка с описанием |
|
||||
| `standalone-adaptive.svg` | Собственно SVG (адаптивный light/dark) |
|
||||
|
||||
- 2 swarm nodes (odroid manager + xu4 worker)
|
||||
- 7 stacks на odroid: gitea, hermes, hermes_infra, immich, brencher, brencher2, gmail_mcp, torrserv_proxy
|
||||
- External: Keenetic router (DNS + Let's Encrypt TLS termination), Tailscale (subnet router — транспорт), Client
|
||||
- Dead: `nginx_nginx` (Replicas=0) — overlay-сеть nginx_ingress жива
|
||||
- Deploy flow: brencher → стеки (dashed rose arrows)
|
||||
## История решений (что было отброшено)
|
||||
|
||||
Это финал после серии экспериментов. Сначала я сделал 10 вариантов одной диаграммы:
|
||||
|
||||
1. ❌ Mermaid в md — спартанский стиль, трудно контролировать layout
|
||||
2. ❌ `<img>` без sizing — теряется контроль над размером
|
||||
3. ❌ `<img>` с sizing (но `style` санитизируется gitea)
|
||||
4. ❌ Inline SVG в `<details>` — diff нечитаемый, дублирование
|
||||
5. ❌ `<object>` — gitea вырезает через goldmark санитайзер
|
||||
6. ✅ **Adaptive SVG** — `<img src>` + `@media prefers-color-scheme` в самом SVG
|
||||
7. ❌ Plain SVG без адаптивности
|
||||
8. ❌ HTML+SVG dark theme — не рендерится в Gitea preview
|
||||
9. ❌ ASCII art — работает везде, но некрасиво
|
||||
|
||||
**Почему adaptive SVG зашёл:**
|
||||
- Один файл, рендерится и в Gitea preview, и при прямом открытии в браузере
|
||||
- Автоматически подстраивается под light/dark тему пользователя (через `<img>` это работает только в браузере, не в Gitea-preview, но при прямом открытии SVG — адаптивно)
|
||||
- Точный layout (ручной SVG, не auto-generated)
|
||||
- Жёлтые кружки для физических хостов + reachability-аннотации ясно показывают кто кого видит
|
||||
|
||||
## Что показывает финальная диаграмма
|
||||
|
||||
- **Сеть `lan`** (192.168.1.0/24) — amber-bordered блок между Keenetic и физическими хостами
|
||||
- **Физические хосты** — жёлтые кружки с цифрами (① odroid, ② xu4)
|
||||
- **Стеки** на odroid: gitea, hermes, hermes_infra, immich, brencher, gmail_mcp, torrserv_proxy
|
||||
- **Dead:** `nginx_nginx` (Replicas=0)
|
||||
- **Reachability** — зелёные ● и красные ● показывают кто кого видит
|
||||
|
||||
## Что НЕ показывает (для следующих уровней)
|
||||
|
||||
@@ -21,7 +45,7 @@
|
||||
- DNS-резолвинг детально
|
||||
- Traffic flow конкретных сервисов
|
||||
|
||||
## Известные неточности (TODO)
|
||||
## Известные TODO
|
||||
|
||||
1. `endpoint.Ports` у gitea_server пустое, но ingress маршрутизирует — legacy.
|
||||
2. `xu4` worker пуст в снапшоте.
|
||||
@@ -29,50 +53,6 @@
|
||||
4. Tailscale роль (subnet router) требует подтверждения.
|
||||
5. brencher-stack-compose для каждого стека отсутствует в `admin/ansible`.
|
||||
|
||||
## Варианты
|
||||
|
||||
| # | Файл | Формат | Где рендерится | Комментарий |
|
||||
|---|---|---|---|---|
|
||||
| 1 | `mermaid.md` | Mermaid в md | Gitea UI | Спартанский стиль, diff-friendly |
|
||||
| 2 | `svg-embedded.md` | md → `<img>` SVG | Gitea UI | **Проверено** через `/api/v1/markdown` — работает |
|
||||
| 3 | `svg-sized.md` | md → `<img>` с width | Gitea UI | Контроль размера (но `style` санитизируется) |
|
||||
| 4 | `svg-inline.md` | inline SVG в `<details>` | Gitea UI | Можно зумить, но diff нечитаем |
|
||||
| 5 | `svg-object.md` | md → `<object>` | **НЕ работает** в Gitea | goldmark вырезает; оставлен для справки |
|
||||
| 6 | `svg-adaptive.md` | md → adaptive SVG | Gitea UI (только dark) | Светлая тема не работает через `<img>` (img isolation) |
|
||||
| 7 | `standalone.svg` | Raw SVG | Браузер | Точный layout, single file |
|
||||
| 8 | `standalone-adaptive.svg` | SVG + prefers-color-scheme | Браузер | Адаптивная тема при прямом открытии |
|
||||
| 9 | `standalone.html` | HTML+SVG dark theme | Браузер | Pulsing dot, summary cards |
|
||||
| 10 | `ascii.txt` | ASCII art | Terminal / raw md | Работает везде, не зависит от рендерера |
|
||||
|
||||
## Рекомендация после тестов
|
||||
|
||||
| Цель | Использовать |
|
||||
|---|---|
|
||||
| README главной страницы | `svg-embedded.md` (вариант 2) |
|
||||
| PR preview в Gitea | `svg-embedded.md` или `svg-sized.md` (вариант 3) если большая |
|
||||
| Wiki-страница | `svg-embedded.md` |
|
||||
| Внешний share (email, slack) | `standalone.svg` (аттач) |
|
||||
| Презентация / документ | `standalone.html` (открыть в браузере) |
|
||||
| Где SVG не работает | `ascii.txt` |
|
||||
|
||||
## Что работает в Gitea 1.27 preview (проверено через `/api/v1/markdown`)
|
||||
|
||||
| Синтаксис | Результат |
|
||||
|---|---|
|
||||
| `` | `<img src="/media/path.svg">` ✅ |
|
||||
| `<img src="path.svg" width="600">` | `<img ... width="600">` ✅ |
|
||||
| `<img src="path.svg" style="...">` | `<img ... >` без style ❌ |
|
||||
| `<object data="path.svg">` | вырезается ❌ |
|
||||
| `<svg>...</svg>` inline | рендерится (если внутри md) ✅ |
|
||||
| `<details><summary>...</summary>...</details>` | рендерится ✅ |
|
||||
|
||||
## Коммиты в этой ветке
|
||||
|
||||
1. `docs: add production architecture diagram in three formats` — 3 базовых варианта
|
||||
2. `docs: add svg-embedded variant` — `<img>` через markdown
|
||||
3. `docs: add svg-sized, svg-inline, svg-object, svg-adaptive variants`
|
||||
4. `docs: add ascii variant and refresh README`
|
||||
|
||||
## Связанные тикеты
|
||||
|
||||
- `admin/ansible#5` — re-deploy `hermes_squid`
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 900" font-family="ui-monospace, SFMono-Regular, monospace" font-size="12">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1400 950" font-family="ui-monospace, SFMono-Regular, monospace" font-size="12">
|
||||
<title>Production architecture · Adaptive (dark/light via prefers-color-scheme)</title>
|
||||
<desc>
|
||||
Same data as standalone.svg, but uses CSS @media (prefers-color-scheme: light)
|
||||
to swap colors when the viewer's browser is in light mode. Gitea 1.27 always
|
||||
renders in dark (the OS theme follows browser default for goldmark preview).
|
||||
Cluster overview. Snapshot 2026-08-27.
|
||||
Yellow numbered circles = physical hosts (1=odroid, 2=xu4).
|
||||
"lan" = the shared LAN 192.168.1.0/24 segment between Keenetic and the swarm hosts.
|
||||
</desc>
|
||||
|
||||
<style>
|
||||
@@ -12,40 +12,74 @@
|
||||
.bg { fill: #020617; }
|
||||
.grid-dot { fill: #1e293b; }
|
||||
.title { fill: #e2e8f0; }
|
||||
.subtitle { fill: #94a3b8; }
|
||||
|
||||
.ext-bg { fill: #1e293b; fill-opacity: 0.5; stroke: #94a3b8; }
|
||||
.ext-text { fill: #94a3b8; }
|
||||
|
||||
.lan-fill { fill: #422006; fill-opacity: 0.4; stroke: #f59e0b; }
|
||||
.lan-text { fill: #fbbf24; }
|
||||
.lan-label { fill: #fde68a; }
|
||||
|
||||
.node-fill { fill: #0f172a; stroke: #fbbf24; }
|
||||
.node-text { fill: #fef3c7; }
|
||||
|
||||
.stack-fill { fill: #0c4a6e; stroke: #22d3ee; }
|
||||
.stack-text { fill: #cffafe; }
|
||||
|
||||
.dead-fill { fill: #1f1717; stroke: #fb7185; }
|
||||
.dead-text { fill: #fecaca; }
|
||||
|
||||
.edge-fill { fill: #064e3b; stroke: #34d399; }
|
||||
.edge-text { fill: #d1fae5; }
|
||||
|
||||
.arrow { stroke: #cbd5e1; }
|
||||
.arrow-d { stroke: #fb7185; }
|
||||
.arrow-lan { stroke: #f59e0b; }
|
||||
|
||||
.host-circle { fill: #fbbf24; stroke: #78350f; stroke-width: 1.5; }
|
||||
.host-text { fill: #451a03; font-weight: bold; }
|
||||
.legend-text { fill: #cbd5e1; }
|
||||
.footer { fill: #475569; }
|
||||
|
||||
/* Light theme override */
|
||||
/* Reachability annotations */
|
||||
.reach-can { fill: #34d399; }
|
||||
.reach-no { fill: #fb7185; }
|
||||
.reach-text { fill: #cbd5e1; font-size: 9; font-style: italic; }
|
||||
|
||||
/* Light theme */
|
||||
@media (prefers-color-scheme: light) {
|
||||
.bg { fill: #f8fafc; }
|
||||
.grid-dot { fill: #cbd5e1; }
|
||||
.title { fill: #0f172a; }
|
||||
.subtitle { fill: #475569; }
|
||||
|
||||
.ext-bg { fill: #e2e8f0; fill-opacity: 0.7; stroke: #64748b; }
|
||||
.ext-text { fill: #475569; }
|
||||
|
||||
.lan-fill { fill: #fef3c7; fill-opacity: 0.6; stroke: #b45309; }
|
||||
.lan-text { fill: #78350f; }
|
||||
.lan-label { fill: #92400e; }
|
||||
|
||||
.node-fill { fill: #fffbeb; stroke: #b45309; }
|
||||
.node-text { fill: #78350f; }
|
||||
|
||||
.stack-fill { fill: #ecfeff; stroke: #0e7490; }
|
||||
.stack-text { fill: #164e63; }
|
||||
|
||||
.dead-fill { fill: #fff1f2; stroke: #be123c; }
|
||||
.dead-text { fill: #881337; }
|
||||
|
||||
.edge-fill { fill: #ecfdf5; stroke: #047857; }
|
||||
.edge-text { fill: #064e3b; }
|
||||
|
||||
.arrow { stroke: #475569; }
|
||||
.arrow-d { stroke: #be123c; }
|
||||
.arrow-lan { stroke: #b45309; }
|
||||
|
||||
.host-circle { fill: #fbbf24; stroke: #92400e; }
|
||||
.host-text { fill: #451a03; }
|
||||
.legend-text { fill: #1e293b; }
|
||||
.footer { fill: #94a3b8; }
|
||||
|
||||
.reach-text { fill: #475569; }
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -59,113 +93,267 @@
|
||||
<marker id="arrow-d" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#fb7185"/>
|
||||
</marker>
|
||||
<marker id="arrow-lan" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto-start-reverse">
|
||||
<path d="M 0 0 L 10 5 L 0 10 z" fill="#f59e0b"/>
|
||||
</marker>
|
||||
</defs>
|
||||
|
||||
<rect width="1400" height="900" class="bg"/>
|
||||
<rect width="1400" height="900" fill="url(#grid)"/>
|
||||
<rect width="1400" height="950" class="bg"/>
|
||||
<rect width="1400" height="950" fill="url(#grid)"/>
|
||||
|
||||
<text x="40" y="40" class="title" font-size="20" font-weight="bold">
|
||||
Production architecture · Adaptive (dark/light)
|
||||
</text>
|
||||
<text x="40" y="60" class="subtitle" font-size="11">
|
||||
Open standalone-adaptive.svg directly to see prefers-color-scheme adapt to your browser/OS theme.
|
||||
</text>
|
||||
|
||||
<!-- Compact layout (everything in one viewport, smaller boxes) -->
|
||||
<!-- External -->
|
||||
<rect x="40" y="90" width="200" height="180" rx="12" class="ext-bg" stroke-width="1.5"/>
|
||||
<text x="140" y="115" text-anchor="middle" class="subtitle" font-size="11" font-weight="bold">EXTERNAL (LAN)</text>
|
||||
<ellipse cx="140" cy="150" rx="70" ry="20" class="ext-bg"/>
|
||||
<text x="140" y="155" text-anchor="middle" class="title" font-size="11">Client</text>
|
||||
<rect x="55" y="190" width="80" height="36" rx="5" class="ext-bg"/>
|
||||
<text x="95" y="212" text-anchor="middle" class="title" font-size="10">Tailscale</text>
|
||||
<rect x="145" y="190" width="80" height="36" rx="5" class="ext-bg"/>
|
||||
<text x="185" y="207" text-anchor="middle" class="title" font-size="10">Keenetic</text>
|
||||
<text x="185" y="220" text-anchor="middle" class="subtitle" font-size="8">DNS + TLS</text>
|
||||
|
||||
<!-- Swarm -->
|
||||
<rect x="270" y="90" width="770" height="780" rx="12" fill="none" stroke="#fbbf24" stroke-dasharray="8 4"/>
|
||||
<text x="655" y="115" text-anchor="middle" class="title" font-size="11" font-weight="bold">DOCKER SWARM CLUSTER</text>
|
||||
|
||||
<!-- odroid -->
|
||||
<rect x="290" y="135" width="740" height="500" rx="10" class="node-fill"/>
|
||||
<text x="660" y="160" text-anchor="middle" class="node-text" font-size="12" font-weight="bold">odroid (manager) · 192.168.1.96</text>
|
||||
|
||||
<!-- ingress -->
|
||||
<rect x="310" y="180" width="160" height="50" rx="6" class="edge-fill"/>
|
||||
<text x="390" y="200" text-anchor="middle" class="edge-text" font-size="11" font-weight="bold">swarm ingress</text>
|
||||
<text x="390" y="215" text-anchor="middle" class="edge-text" font-size="9">10.0.0.2</text>
|
||||
<text x="390" y="226" text-anchor="middle" class="edge-text" font-size="8">(routing mesh)</text>
|
||||
|
||||
<!-- Stacks row 1 -->
|
||||
<!-- ============================================================== -->
|
||||
<!-- External: Client -->
|
||||
<!-- ============================================================== -->
|
||||
<g>
|
||||
<rect x="310" y="250" width="170" height="80" rx="6" class="stack-fill"/>
|
||||
<text x="395" y="272" text-anchor="middle" class="stack-text" font-weight="bold">gitea</text>
|
||||
<text x="395" y="287" text-anchor="middle" class="stack-text" font-size="9">server · runner</text>
|
||||
<text x="395" y="300" text-anchor="middle" class="stack-text" font-size="9">.235 / .17.13</text>
|
||||
<text x="395" y="313" text-anchor="middle" class="stack-text" font-size="9">.235 / .3.134</text>
|
||||
|
||||
<rect x="490" y="250" width="170" height="80" rx="6" class="stack-fill"/>
|
||||
<text x="575" y="272" text-anchor="middle" class="stack-text" font-weight="bold">hermes</text>
|
||||
<text x="575" y="287" text-anchor="middle" class="stack-text" font-size="9">agent · gateway</text>
|
||||
<text x="575" y="300" text-anchor="middle" class="stack-text" font-size="9">.204</text>
|
||||
|
||||
<rect x="670" y="250" width="170" height="80" rx="6" class="stack-fill"/>
|
||||
<text x="755" y="272" text-anchor="middle" class="stack-text" font-weight="bold">hermes_infra</text>
|
||||
<text x="755" y="284" text-anchor="middle" class="stack-text" font-size="8">squid · sarg · ui</text>
|
||||
<text x="755" y="295" text-anchor="middle" class="stack-text" font-size="8">docker_proxy</text>
|
||||
<text x="755" y="306" text-anchor="middle" class="stack-text" font-size="8">brencher-state</text>
|
||||
<text x="755" y="319" text-anchor="middle" class="stack-text" font-size="8">.106-108</text>
|
||||
|
||||
<rect x="850" y="250" width="160" height="80" rx="6" class="stack-fill"/>
|
||||
<text x="930" y="272" text-anchor="middle" class="stack-text" font-weight="bold">immich</text>
|
||||
<text x="930" y="287" text-anchor="middle" class="stack-text" font-size="9">server · db</text>
|
||||
<text x="930" y="300" text-anchor="middle" class="stack-text" font-size="9">redis · ml</text>
|
||||
<text x="930" y="313" text-anchor="middle" class="stack-text" font-size="9">.225</text>
|
||||
<ellipse cx="100" cy="100" rx="70" ry="22" class="ext-bg"/>
|
||||
<text x="100" y="106" text-anchor="middle" class="title" font-size="11" font-weight="bold">Client</text>
|
||||
<text x="100" y="135" text-anchor="middle" class="ext-text" font-size="9">из tailscale-сети</text>
|
||||
</g>
|
||||
|
||||
<!-- Stacks row 2 -->
|
||||
<!-- ============================================================== -->
|
||||
<!-- LAN network (192.168.1.0/24) — between Keenetic and swarm hosts -->
|
||||
<!-- ============================================================== -->
|
||||
<g>
|
||||
<rect x="310" y="345" width="170" height="70" rx="6" class="stack-fill"/>
|
||||
<text x="395" y="367" text-anchor="middle" class="stack-text" font-weight="bold">brencher</text>
|
||||
<text x="395" y="382" text-anchor="middle" class="stack-text" font-size="9">+ brencher2</text>
|
||||
<text x="395" y="395" text-anchor="middle" class="stack-text" font-size="9">deploy tools</text>
|
||||
<text x="395" y="408" text-anchor="middle" class="stack-text" font-size="9">.105 / .102</text>
|
||||
<rect x="40" y="180" width="240" height="500" rx="14" class="lan-fill" stroke-width="2"/>
|
||||
<text x="160" y="208" text-anchor="middle" class="lan-label" font-size="13" font-weight="bold">lan</text>
|
||||
<text x="160" y="226" text-anchor="middle" class="lan-text" font-size="10">192.168.1.0/24</text>
|
||||
|
||||
<rect x="490" y="345" width="170" height="70" rx="6" class="stack-fill"/>
|
||||
<text x="575" y="367" text-anchor="middle" class="stack-text" font-weight="bold">gmail_mcp</text>
|
||||
<text x="575" y="382" text-anchor="middle" class="stack-text" font-size="9">gmail + telegram</text>
|
||||
<text x="575" y="395" text-anchor="middle" class="stack-text" font-size="9">MCP servers</text>
|
||||
<text x="575" y="408" text-anchor="middle" class="stack-text" font-size="9">.6 / .10</text>
|
||||
<!-- Keenetic on LAN -->
|
||||
<rect x="60" y="260" width="200" height="60" rx="6" class="ext-bg"/>
|
||||
<text x="160" y="280" text-anchor="middle" class="title" font-size="11" font-weight="bold">Keenetic router</text>
|
||||
<text x="160" y="295" text-anchor="middle" class="ext-text" font-size="9">DNS · Let's Encrypt · TLS termination</text>
|
||||
<text x="160" y="308" text-anchor="middle" class="ext-text" font-size="9">192.168.1.1</text>
|
||||
|
||||
<rect x="670" y="345" width="170" height="70" rx="6" class="stack-fill"/>
|
||||
<text x="755" y="367" text-anchor="middle" class="stack-text" font-weight="bold">torrserv_proxy</text>
|
||||
<text x="755" y="382" text-anchor="middle" class="stack-text" font-size="9">reverseproxy</text>
|
||||
<text x="755" y="395" text-anchor="middle" class="stack-text" font-size="9">fileserver</text>
|
||||
<text x="755" y="408" text-anchor="middle" class="stack-text" font-size="9">.15 / .12</text>
|
||||
<!-- Tailscale on LAN (subnet router running on odroid) -->
|
||||
<rect x="60" y="350" width="200" height="55" rx="6" class="ext-bg"/>
|
||||
<text x="160" y="370" text-anchor="middle" class="title" font-size="11" font-weight="bold">Tailscale subnet</text>
|
||||
<text x="160" y="385" text-anchor="middle" class="ext-text" font-size="9">announces 192.168.1.0/24</text>
|
||||
<text x="160" y="398" text-anchor="middle" class="ext-text" font-size="9">(runs on host 1)</text>
|
||||
|
||||
<!-- Reachability annotations for LAN -->
|
||||
<text x="60" y="430" class="reach-text">Reachability:</text>
|
||||
<text x="60" y="445" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> Client ⇄ Tailscale ⇄ Keenetic
|
||||
</text>
|
||||
<text x="60" y="460" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> Keenetic ⇄ host 1 (odroid):443
|
||||
</text>
|
||||
<text x="60" y="475" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> host 1 (odroid) ⇄ host 2 (xu4)
|
||||
</text>
|
||||
<text x="60" y="490" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> Tailscale ⇄ host 1 (odroid)
|
||||
</text>
|
||||
<text x="60" y="510" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> ANY stack ⇄ ANY stack (overlay mesh)
|
||||
</text>
|
||||
<text x="60" y="528" class="reach-text">
|
||||
<tspan class="reach-no">●</tspan> Client ❌ host 2 direct (no route)
|
||||
</text>
|
||||
<text x="60" y="546" class="reach-text">
|
||||
<tspan class="reach-no">●</tspan> Client ❌ gitea:3000 (no port forward)
|
||||
</text>
|
||||
<text x="60" y="562" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> ANY stack ⇄ Keenetic (LAN gw)
|
||||
</text>
|
||||
<text x="60" y="582" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> ANY stack ⇄ Tailscale (via host 1)
|
||||
</text>
|
||||
<text x="60" y="598" class="reach-text">
|
||||
<tspan class="reach-no">●</tspan> gitea ❌ nginx_nginx (dead, no flow)
|
||||
</text>
|
||||
<text x="60" y="618" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> brencher ⇄ admin/ansible git (git pull)
|
||||
</text>
|
||||
<text x="60" y="638" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> stacks ⇄ external DNS via Keenetic
|
||||
</text>
|
||||
<text x="60" y="658" class="reach-text">
|
||||
<tspan class="reach-can">●</tspan> brencher ⇄ stacks (deploys via docker socket)
|
||||
</text>
|
||||
</g>
|
||||
|
||||
<!-- Dead nginx -->
|
||||
<rect x="310" y="430" width="380" height="60" rx="6" class="dead-fill" stroke-width="1.5" stroke-dasharray="6 3"/>
|
||||
<text x="500" y="452" text-anchor="middle" class="dead-text" font-size="12" font-weight="bold">nginx_nginx (dead)</text>
|
||||
<text x="500" y="467" text-anchor="middle" class="dead-text" font-size="9">jwilder/nginx-proxy · Replicas: 0</text>
|
||||
<text x="500" y="481" text-anchor="middle" class="dead-text" font-size="9">overlay-сеть nginx_ingress (10.0.3.0/24) жива</text>
|
||||
<!-- ============================================================== -->
|
||||
<!-- Cluster (swarm hosts) -->
|
||||
<!-- ============================================================== -->
|
||||
<rect x="320" y="80" width="1060" height="800" rx="14" fill="none" stroke="#fbbf24" stroke-dasharray="8 4"/>
|
||||
<text x="850" y="105" text-anchor="middle" class="lan-label" font-size="12" font-weight="bold">DOCKER SWARM CLUSTER</text>
|
||||
|
||||
<!-- xu4 -->
|
||||
<rect x="290" y="660" width="740" height="180" rx="10" class="node-fill"/>
|
||||
<text x="660" y="685" text-anchor="middle" class="node-text" font-size="12" font-weight="bold">xu4 (worker)</text>
|
||||
<rect x="380" y="715" width="540" height="80" rx="8" fill="none" stroke="#fbbf24" stroke-dasharray="4 2"/>
|
||||
<text x="650" y="745" text-anchor="middle" class="node-text" font-size="11" font-weight="bold">worker tasks</text>
|
||||
<text x="650" y="765" text-anchor="middle" class="subtitle" font-size="10">(пусто в снапшоте 2026-08-27)</text>
|
||||
<!-- ===== Host 1: odroid ===== -->
|
||||
<g>
|
||||
<rect x="340" y="130" width="510" height="500" rx="10" class="node-fill" stroke-width="2"/>
|
||||
|
||||
<!-- Arrows -->
|
||||
<line x1="240" y1="205" x2="270" y2="205" class="arrow" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||
<line x1="390" y1="230" x2="390" y2="250" class="arrow" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||
<line x1="470" y1="240" x2="930" y2="290" class="arrow" stroke-width="1" stroke-opacity="0.4" marker-end="url(#arrow)"/>
|
||||
<line x1="470" y1="240" x2="575" y2="250" class="arrow" stroke-width="1" stroke-opacity="0.4" marker-end="url(#arrow)"/>
|
||||
<line x1="395" y1="345" x2="395" y2="330" class="arrow-d" stroke-width="1.5" stroke-dasharray="4 3" marker-end="url(#arrow-d)"/>
|
||||
<!-- Yellow numbered circle for the physical host -->
|
||||
<circle cx="370" cy="160" r="18" class="host-circle"/>
|
||||
<text x="370" y="166" text-anchor="middle" class="host-text" font-size="18">1</text>
|
||||
|
||||
<text x="40" y="880" class="footer" font-size="10">
|
||||
adaptive SVG · prefers-color-scheme: light/dark · open standalone-adaptive.svg directly in browser
|
||||
<text x="585" y="158" text-anchor="middle" class="node-text" font-size="13" font-weight="bold">odroid (manager)</text>
|
||||
<text x="585" y="174" text-anchor="middle" class="node-text" font-size="10">192.168.1.96 · arm64 · Linux 5.15</text>
|
||||
<text x="585" y="188" text-anchor="middle" class="node-text" font-size="9">j9bljgaqh9qc · 192.168.1.96:443 (Keenetic TLS term target)</text>
|
||||
|
||||
<!-- ingress -->
|
||||
<rect x="360" y="210" width="160" height="50" rx="6" class="edge-fill"/>
|
||||
<text x="440" y="230" text-anchor="middle" class="edge-text" font-size="11" font-weight="bold">swarm ingress</text>
|
||||
<text x="440" y="245" text-anchor="middle" class="edge-text" font-size="9">10.0.0.2</text>
|
||||
<text x="440" y="256" text-anchor="middle" class="edge-text" font-size="8">(routing mesh)</text>
|
||||
|
||||
<!-- Stacks row 1 -->
|
||||
<rect x="360" y="280" width="140" height="78" rx="6" class="stack-fill"/>
|
||||
<text x="430" y="301" text-anchor="middle" class="stack-text" font-weight="bold">gitea</text>
|
||||
<text x="430" y="316" text-anchor="middle" class="stack-text" font-size="9">server · runner</text>
|
||||
<text x="430" y="329" text-anchor="middle" class="stack-text" font-size="9">.235 / .17.13</text>
|
||||
<text x="430" y="342" text-anchor="middle" class="stack-text" font-size="9">.3.134</text>
|
||||
|
||||
<rect x="510" y="280" width="140" height="78" rx="6" class="stack-fill"/>
|
||||
<text x="580" y="301" text-anchor="middle" class="stack-text" font-weight="bold">hermes</text>
|
||||
<text x="580" y="316" text-anchor="middle" class="stack-text" font-size="9">agent · gateway</text>
|
||||
<text x="580" y="329" text-anchor="middle" class="stack-text" font-size="9">.204</text>
|
||||
<text x="580" y="342" text-anchor="middle" class="stack-text" font-size="9">.11.x</text>
|
||||
|
||||
<rect x="660" y="280" width="170" height="78" rx="6" class="stack-fill"/>
|
||||
<text x="745" y="301" text-anchor="middle" class="stack-text" font-weight="bold">hermes_infra</text>
|
||||
<text x="745" y="313" text-anchor="middle" class="stack-text" font-size="8">squid · sarg · ui</text>
|
||||
<text x="745" y="324" text-anchor="middle" class="stack-text" font-size="8">docker_proxy</text>
|
||||
<text x="745" y="335" text-anchor="middle" class="stack-text" font-size="8">brencher-state</text>
|
||||
<text x="745" y="348" text-anchor="middle" class="stack-text" font-size="9">.106-108</text>
|
||||
|
||||
<!-- Stacks row 2 -->
|
||||
<rect x="360" y="370" width="140" height="68" rx="6" class="stack-fill"/>
|
||||
<text x="430" y="391" text-anchor="middle" class="stack-text" font-weight="bold">brencher</text>
|
||||
<text x="430" y="406" text-anchor="middle" class="stack-text" font-size="9">+ brencher2</text>
|
||||
<text x="430" y="419" text-anchor="middle" class="stack-text" font-size="9">deploy tools</text>
|
||||
<text x="430" y="432" text-anchor="middle" class="stack-text" font-size="9">.105 / .102</text>
|
||||
|
||||
<rect x="510" y="370" width="140" height="68" rx="6" class="stack-fill"/>
|
||||
<text x="580" y="391" text-anchor="middle" class="stack-text" font-weight="bold">gmail_mcp</text>
|
||||
<text x="580" y="406" text-anchor="middle" class="stack-text" font-size="9">gmail + telegram</text>
|
||||
<text x="580" y="419" text-anchor="middle" class="stack-text" font-size="9">MCP servers</text>
|
||||
<text x="580" y="432" text-anchor="middle" class="stack-text" font-size="9">.6 / .10</text>
|
||||
|
||||
<rect x="660" y="370" width="170" height="68" rx="6" class="stack-fill"/>
|
||||
<text x="745" y="391" text-anchor="middle" class="stack-text" font-weight="bold">torrserv_proxy</text>
|
||||
<text x="745" y="406" text-anchor="middle" class="stack-text" font-size="9">reverseproxy</text>
|
||||
<text x="745" y="419" text-anchor="middle" class="stack-text" font-size="9">fileserver</text>
|
||||
<text x="745" y="432" text-anchor="middle" class="stack-text" font-size="9">.15 / .12</text>
|
||||
|
||||
<!-- Dead nginx -->
|
||||
<rect x="360" y="455" width="470" height="55" rx="6" class="dead-fill" stroke-width="1.5" stroke-dasharray="6 3"/>
|
||||
<text x="595" y="476" text-anchor="middle" class="dead-text" font-size="12" font-weight="bold">nginx_nginx (dead)</text>
|
||||
<text x="595" y="491" text-anchor="middle" class="dead-text" font-size="9">jwilder/nginx-proxy · Replicas: 0</text>
|
||||
<text x="595" y="504" text-anchor="middle" class="dead-text" font-size="9">overlay-сеть nginx_ingress (10.0.3.0/24) жива, контейнеров нет</text>
|
||||
|
||||
<!-- Tailscale (host 1) -->
|
||||
<rect x="360" y="525" width="470" height="50" rx="6" fill="none" stroke="#94a3b8" stroke-dasharray="3 3"/>
|
||||
<text x="595" y="544" text-anchor="middle" class="ext-text" font-size="11" font-weight="bold">Tailscale daemon (хост 1)</text>
|
||||
<text x="595" y="558" text-anchor="middle" class="ext-text" font-size="9">advertises 192.168.1.0/24 как subnet router</text>
|
||||
<text x="595" y="570" text-anchor="middle" class="ext-text" font-size="9">100.x.x.x для tailscale-клиентов вне LAN</text>
|
||||
</g>
|
||||
|
||||
<!-- ===== Host 2: xu4 ===== -->
|
||||
<g>
|
||||
<rect x="870" y="130" width="490" height="500" rx="10" class="node-fill" stroke-width="2"/>
|
||||
|
||||
<!-- Yellow numbered circle -->
|
||||
<circle cx="900" cy="160" r="18" class="host-circle"/>
|
||||
<text x="900" y="166" text-anchor="middle" class="host-text" font-size="18">2</text>
|
||||
|
||||
<text x="1115" y="158" text-anchor="middle" class="node-text" font-size="13" font-weight="bold">xu4 (worker)</text>
|
||||
<text x="1115" y="174" text-anchor="middle" class="node-text" font-size="10">id=u2ynmimtl0lu</text>
|
||||
<text x="1115" y="188" text-anchor="middle" class="node-text" font-size="9">tasks: пусто в снапшоте 2026-08-27</text>
|
||||
|
||||
<rect x="900" y="210" width="430" height="410" rx="6" fill="none" stroke="#fbbf24" stroke-dasharray="4 2"/>
|
||||
<text x="1115" y="240" text-anchor="middle" class="node-text" font-size="11" font-weight="bold">worker tasks</text>
|
||||
<text x="1115" y="258" text-anchor="middle" class="node-text" font-size="10">ожидаются будущие сервисы</text>
|
||||
<text x="1115" y="278" text-anchor="middle" class="node-text" font-size="9">.5-6 (например brencher_local2)</text>
|
||||
<text x="1115" y="295" text-anchor="middle" class="node-text" font-size="9">.2 (например immich ml сейчас тут?)</text>
|
||||
</g>
|
||||
|
||||
<!-- ===== Inter-host link (odroid <-> xu4) ===== -->
|
||||
<line x1="850" y1="380" x2="870" y2="380" stroke="#fbbf24" stroke-width="2" stroke-dasharray="6 3"/>
|
||||
<text x="860" y="372" text-anchor="middle" class="lan-text" font-size="9">↔ swarm</text>
|
||||
<text x="860" y="394" text-anchor="middle" class="lan-text" font-size="9">manager-worker</text>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- Arrows: traffic flows with reachability -->
|
||||
<!-- ============================================================== -->
|
||||
|
||||
<!-- Client → Tailscale (subnet) -->
|
||||
<path d="M 130 122 Q 130 150 130 180" fill="none" class="arrow" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||
<text x="138" y="148" class="legend-text" font-size="9">https</text>
|
||||
|
||||
<!-- Tailscale subnet → Keenetic (within LAN, traffic goes through Keenetic for TLS) -->
|
||||
<line x1="220" y1="290" x2="220" y2="335" class="arrow-lan" stroke-width="1.5" marker-end="url(#arrow-lan)"/>
|
||||
|
||||
<!-- Keenetic → odroid (LAN host 1) -->
|
||||
<line x1="260" y1="290" x2="340" y2="220" class="arrow-lan" stroke-width="2" marker-end="url(#arrow-lan)"/>
|
||||
<text x="270" y="240" class="reach-text">TLS term →</text>
|
||||
<text x="270" y="252" class="reach-text">plain HTTP</text>
|
||||
|
||||
<!-- odroid → xu4 (manager-worker) -->
|
||||
<line x1="850" y1="220" x2="870" y2="220" class="arrow" stroke-width="1.5" stroke-dasharray="4 3" marker-end="url(#arrow)"/>
|
||||
<text x="860" y="212" text-anchor="middle" class="legend-text" font-size="9">swarm</text>
|
||||
|
||||
<!-- ingress → stacks (on odroid) -->
|
||||
<line x1="440" y1="260" x2="430" y2="280" class="arrow" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||
<line x1="440" y1="260" x2="580" y2="280" class="arrow" stroke-width="1" stroke-opacity="0.4" marker-end="url(#arrow)"/>
|
||||
<line x1="440" y1="260" x2="745" y2="280" class="arrow" stroke-width="1" stroke-opacity="0.4" marker-end="url(#arrow)"/>
|
||||
|
||||
<!-- ingress → xu4 (cross-node) -->
|
||||
<line x1="510" y1="240" x2="900" y2="240" class="arrow" stroke-width="1" stroke-opacity="0.4" stroke-dasharray="3 3" marker-end="url(#arrow)"/>
|
||||
<text x="700" y="234" text-anchor="middle" class="reach-text" font-size="9">cross-node via swarm mesh (если бы task был на xu4)</text>
|
||||
|
||||
<!-- brencher → stacks (deploy flow) -->
|
||||
<line x1="430" y1="370" x2="430" y2="358" class="arrow-d" stroke-width="1.5" stroke-dasharray="4 3" marker-end="url(#arrow-d)"/>
|
||||
|
||||
<!-- ============================================================== -->
|
||||
<!-- LEGEND -->
|
||||
<!-- ============================================================== -->
|
||||
<g id="legend">
|
||||
<rect x="40" y="700" width="240" height="220" rx="10" class="lan-fill" stroke="#f59e0b"/>
|
||||
<text x="60" y="725" class="lan-label" font-size="12" font-weight="bold">LEGEND</text>
|
||||
|
||||
<!-- Host circle -->
|
||||
<circle cx="65" cy="748" r="13" class="host-circle"/>
|
||||
<text x="65" y="754" text-anchor="middle" class="host-text" font-size="13">1</text>
|
||||
<text x="90" y="753" class="legend-text" font-size="10">физический хост (N=odroid, 2=xu4)</text>
|
||||
|
||||
<!-- lan -->
|
||||
<rect x="50" y="765" width="30" height="14" rx="3" class="lan-fill" stroke="#f59e0b"/>
|
||||
<text x="90" y="776" class="legend-text" font-size="10">сеть lan (192.168.1.0/24)</text>
|
||||
|
||||
<!-- node -->
|
||||
<rect x="50" y="784" width="30" height="14" rx="3" class="node-fill"/>
|
||||
<text x="90" y="795" class="legend-text" font-size="10">swarm node (физический хост)</text>
|
||||
|
||||
<!-- stack -->
|
||||
<rect x="50" y="803" width="30" height="14" rx="3" class="stack-fill"/>
|
||||
<text x="90" y="814" class="legend-text" font-size="10">stack (running service)</text>
|
||||
|
||||
<!-- edge -->
|
||||
<rect x="50" y="822" width="30" height="14" rx="3" class="edge-fill"/>
|
||||
<text x="90" y="833" class="legend-text" font-size="10">routing mesh / ingress</text>
|
||||
|
||||
<!-- dead -->
|
||||
<rect x="50" y="841" width="30" height="14" rx="3" class="dead-fill" stroke-dasharray="3 2"/>
|
||||
<text x="90" y="852" class="legend-text" font-size="10">dead / disabled service</text>
|
||||
|
||||
<!-- arrows -->
|
||||
<line x1="50" y1="868" x2="80" y2="868" class="arrow" stroke-width="1.5" marker-end="url(#arrow)"/>
|
||||
<text x="90" y="872" class="legend-text" font-size="10">solid = reach / flow</text>
|
||||
|
||||
<line x1="50" y1="884" x2="80" y2="884" class="arrow-d" stroke-width="1.5" stroke-dasharray="4 3" marker-end="url(#arrow-d)"/>
|
||||
<text x="90" y="888" class="legend-text" font-size="10">dashed rose = deploy / dead</text>
|
||||
|
||||
<line x1="50" y1="900" x2="80" y2="900" class="arrow-lan" stroke-width="1.5" marker-end="url(#arrow-lan)"/>
|
||||
<text x="90" y="904" class="legend-text" font-size="10">amber = LAN traffic</text>
|
||||
</g>
|
||||
|
||||
<!-- Footer -->
|
||||
<text x="40" y="940" class="footer" font-size="10">
|
||||
adaptive SVG · prefers-color-scheme: light/dark · open standalone-adaptive.svg directly in browser · snapshot 2026-08-27
|
||||
</text>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 19 KiB |
@@ -1,57 +1,55 @@
|
||||
# Production architecture (adaptive SVG variant)
|
||||
|
||||
> **Вариант №8:** тот же SVG, но с **CSS @media (prefers-color-scheme)** для автоматической
|
||||
> смены тёмной/светлой темы в зависимости от темы браузера читателя.
|
||||
> **Финальный вариант** — один SVG с автоматической адаптацией тёмной/светлой темы.
|
||||
> Рендерится inline в Gitea preview, читается везде.
|
||||
|
||||
## Диаграмма
|
||||
|
||||

|
||||
|
||||
## Как проверить
|
||||
## Что показывает
|
||||
|
||||
1. Открой [`./standalone-adaptive.svg`](./standalone-adaptive.svg) напрямую в браузере
|
||||
2. Переключи тему браузера:
|
||||
- **Chrome/Edge:** `chrome://flags/#enable-force-dark` или DevTools → Rendering → "Emulate CSS prefers-color-scheme"
|
||||
- **Firefox:** `about:config` → `ui.systemUsesDarkTheme` = 1/0
|
||||
3. SVG должен сменить цветовую палитру
|
||||
- **Сеть `lan`** (192.168.1.0/24) — отдельный amber-bordered блок, соединяет Keenetic с физическими хостами
|
||||
- **Жёлтые кружки с цифрами** на каждом физическом хосте:
|
||||
- **① odroid** (manager) — id `j9bljgaqh9qc`, 192.168.1.96, arm64
|
||||
- **② xu4** (worker) — id `u2ynmimtl0lu`, пуст в снапшоте
|
||||
- **6 стеков на odroid** (gitea, hermes, hermes_infra, immich, brencher, gmail_mcp, torrserv_proxy) + dead `nginx_nginx` (Replicas=0)
|
||||
- **Reachability** — кто кого видит (зелёные ● = да, красные ● = нет), с конкретными flow'ами:
|
||||
- Client ⇄ Tailscale ⇄ Keenetic
|
||||
- Keenetic ⇄ odroid:443 (TLS term target)
|
||||
- odroid ⇄ xu4 (swarm manager-worker)
|
||||
- **Cross-node** через swarm mesh (если бы task был на xu4)
|
||||
- **Brake:** gitea ❌ nginx_nginx (dead, нет flow)
|
||||
- **Brake:** Client ❌ gitea:3000 напрямую (нет port forwarding)
|
||||
|
||||
## Палитры
|
||||
## Как читать
|
||||
|
||||
### Dark (default)
|
||||
- Background: `#020617` (slate-950)
|
||||
- Stacks: `#0c4a6e` / stroke `#22d3ee` (cyan)
|
||||
- Nodes: `#0f172a` / stroke `#fbbf24` (amber)
|
||||
- Edge (ingress): `#064e3b` / stroke `#34d399` (emerald)
|
||||
- Dead: `#1f1717` / stroke `#fb7185` (rose, dashed)
|
||||
- External: `#1e293b` / stroke `#94a3b8` (slate)
|
||||
1. **Слева** — `lan` блок (amber) с Keenetic и Tailscale subnet router
|
||||
2. **В центре** — `odroid (①)` со всеми стеками
|
||||
3. **Справа** — `xu4 (②)` (пустой, готов принимать tasks)
|
||||
4. **Жёлтые стрелки (amber)** = LAN трафик, **белые сплошные** = reach, **розовые dashed** = deploy / dead
|
||||
|
||||
### Light (через `@media (prefers-color-scheme: light)`)
|
||||
- Background: `#f8fafc` (slate-50)
|
||||
- Stacks: `#ecfeff` / stroke `#0e7490` (cyan-700)
|
||||
- Nodes: `#fffbeb` / stroke `#b45309` (amber-700)
|
||||
- Edge: `#ecfdf5` / stroke `#047857` (emerald-700)
|
||||
- Dead: `#fff1f2` / stroke `#be123c` (rose-700)
|
||||
- External: `#e2e8f0` / stroke `#64748b` (slate-500)
|
||||
## Reachability легенда
|
||||
|
||||
## Плюсы / минусы
|
||||
Зелёная `●` = "видит и может связаться", красная `●` = "не видит / нет маршрута".
|
||||
|
||||
**+** Один файл работает в обеих темах — никаких дубликатов.
|
||||
**+** Автоматически адаптируется к предпочтениям пользователя.
|
||||
**+** Использует стандартный CSS, не нужен JS.
|
||||
**-** Gitea preview в `/media/...svg` всегда отдаёт SVG как есть, но **рендерит внутри `<img>`** который **не реагирует на `prefers-color-scheme`** (img-isolation). Адаптация работает только при прямом открытии SVG в браузере.
|
||||
**-** Если пользователь читает SVG через `<img>` в Gitea — увидит только дефолтную (тёмную) тему.
|
||||
**-** Дублирование: тот же граф в standalone.svg, но с другой логикой цветов.
|
||||
## Как проверить light theme
|
||||
|
||||
## Когда использовать
|
||||
Открой [`./standalone-adaptive.svg`](./standalone-adaptive.svg) напрямую в браузере, переключи тему:
|
||||
|
||||
- Когда важно чтобы SVG был читаемым при печати (где часто светлая тема)
|
||||
- Когда показываешь SVG вне Gitea (внешние пользователи, документация)
|
||||
- Когда в команде есть пользователи с light-mode ОС
|
||||
- **Chrome/Edge:** DevTools → Rendering → "Emulate CSS prefers-color-scheme"
|
||||
- **Firefox:** `about:config` → `ui.systemUsesDarkTheme`
|
||||
|
||||
В **нашем Gitea preview** адаптация **не работает** (img-isolation ломает media query),
|
||||
поэтому практической пользы от этого варианта мало — оставлен для сравнения.
|
||||
## Файлы в этой папке
|
||||
|
||||
| Файл | Что это |
|
||||
|---|---|
|
||||
| `standalone-adaptive.svg` | Собственно SVG (single file, адаптивный) |
|
||||
| `svg-adaptive.md` | Этот файл — обёртка с описанием |
|
||||
| `README.md` | История решений, что было отброшено |
|
||||
|
||||
## Связанные
|
||||
|
||||
- `standalone.svg` — фиксированная тёмная тема (этот файл используется везде)
|
||||
- `standalone.html` — inline SVG с CSS, реагирует на тему браузера (но не рендерится в Gitea preview)
|
||||
- `admin/ansible#5` — re-deploy `hermes_squid`
|
||||
- `admin/ansible#6` — pre-create `socket_proxy` overlay
|
||||
- `admin/ansible#7` — gitea stack deploy / app.ini fix
|
||||
|
||||
Reference in New Issue
Block a user