Skip to content

Commit 0d8ce54

Browse files
authored
fix: align ASCII network topology diagram in ARCHITECTURE.md (#69)
- Fixed inconsistent box widths and alignment - Centered text within boxes - Corrected IP address formatting - Ensured consistent spacing between elements - Fixed outer container border alignment
1 parent aa48000 commit 0d8ce54

File tree

1 file changed

+46
-41
lines changed

1 file changed

+46
-41
lines changed

docs/ARCHITECTURE.md

Lines changed: 46 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -110,47 +110,52 @@ sequenceDiagram
110110
### Network Topology
111111

112112
```
113-
┌─────────────────────────────────────────────────────────────────────────┐
114-
│ Colima VM (Docker) │
115-
├─────────────────────────────────────────────────────────────────────────┤
116-
│ │
117-
│ ┌──────────────────────────────────────────────────────────────────┐ │
118-
│ │ VAULT NETWORK (172.20.1.0/24) - All services connect here │ │
119-
│ │ ┌─────────────┐ │ │
120-
│ │ │ Vault │ ← Central secrets management │ │
121-
│ │ │ 172.20.1.5 │ │ │
122-
│ │ └─────────────┘ │ │
123-
│ └──────────────────────────────────────────────────────────────────┘ │
124-
│ │ │
125-
│ ┌──────────────────────────────────────────────────────────────────┐ │
126-
│ │ DATA NETWORK (172.20.2.0/24) - Databases & message queue │ │
127-
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
128-
│ │ │PostgreSQL│ │ MySQL │ │ MongoDB │ │ RabbitMQ │ │ │
129-
│ │ │.2.10 │ │.2.12 │ │.2.15 │ │.2.14 │ │ │
130-
│ │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ │
131-
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
132-
│ │ │ Redis-1 │ │ Redis-2 │ │ Redis-3 │ ← Cluster │ │
133-
│ │ │.2.13 │ │.2.16 │ │.2.17 │ │ │
134-
│ │ └──────────┘ └──────────┘ └──────────┘ │ │
135-
│ └──────────────────────────────────────────────────────────────────┘ │
136-
│ │ │
137-
│ ┌──────────────────────────────────────────────────────────────────┐ │
138-
│ │ APP NETWORK (172.20.3.0/24) - Applications │ │
139-
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
140-
│ │ │ Forgejo │ │ FastAPI │ │ Go │ │ Rust │ │ │
141-
│ │ │.3.20 │ │.3.100 │ │.3.105 │ │.3.107 │ │ │
142-
│ │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ │
143-
│ └──────────────────────────────────────────────────────────────────┘ │
144-
│ │ │
145-
│ ┌──────────────────────────────────────────────────────────────────┐ │
146-
│ │ OBSERVABILITY NETWORK (172.20.4.0/24) - Monitoring │ │
147-
│ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ │
148-
│ │ │Prometheus│ │ Grafana │ │ Loki │ │ Vector │ │ │
149-
│ │ │.4.10 │ │.4.20 │ │.4.30 │ │.4.60 │ │ │
150-
│ │ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │ │
151-
│ └──────────────────────────────────────────────────────────────────┘ │
152-
│ │
153-
└─────────────────────────────────────────────────────────────────────────┘
113+
┌──────────────────────────────────────────────────────────────────────────────┐
114+
│ Colima VM (Docker) │
115+
├──────────────────────────────────────────────────────────────────────────────┤
116+
│ │
117+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
118+
│ │ VAULT NETWORK (172.20.1.0/24) - All services connect here │ │
119+
│ │ │ │
120+
│ │ ┌─────────────────┐ │ │
121+
│ │ │ Vault │ ← Central secrets management │ │
122+
│ │ │ 172.20.1.10 │ │ │
123+
│ │ └─────────────────┘ │ │
124+
│ └────────────────────────────────────────────────────────────────────────┘ │
125+
│ │ │
126+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
127+
│ │ DATA NETWORK (172.20.2.0/24) - Databases & message queue │ │
128+
│ │ │ │
129+
│ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐ │ │
130+
│ │ │ PostgreSQL │ │ MySQL │ │ MongoDB │ │ RabbitMQ │ │ │
131+
│ │ │ .2.10 │ │ .2.12 │ │ .2.15 │ │ .2.14 │ │ │
132+
│ │ └────────────┘ └────────────┘ └────────────┘ └────────────┘ │ │
133+
│ │ │ │
134+
│ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ │ │
135+
│ │ │ Redis-1 │ │ Redis-2 │ │ Redis-3 │ ← Cluster │ │
136+
│ │ │ .2.13 │ │ .2.16 │ │ .2.17 │ │ │
137+
│ │ └────────────┘ └────────────┘ └────────────┘ │ │
138+
│ └────────────────────────────────────────────────────────────────────────┘ │
139+
│ │ │
140+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
141+
│ │ APP NETWORK (172.20.3.0/24) - Applications │ │
142+
│ │ │ │
143+
│ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐ │ │
144+
│ │ │ Forgejo │ │ FastAPI │ │ Go │ │ Rust │ │ │
145+
│ │ │ .3.10 │ │ .3.20 │ │ .3.22 │ │ .3.24 │ │ │
146+
│ │ └────────────┘ └────────────┘ └────────────┘ └────────────┘ │ │
147+
│ └────────────────────────────────────────────────────────────────────────┘ │
148+
│ │ │
149+
│ ┌────────────────────────────────────────────────────────────────────────┐ │
150+
│ │ OBSERVABILITY NETWORK (172.20.4.0/24) - Monitoring │ │
151+
│ │ │ │
152+
│ │ ┌────────────┐ ┌────────────┐ ┌────────────┐ ┌────────────┐ │ │
153+
│ │ │ Prometheus │ │ Grafana │ │ Loki │ │ Vector │ │ │
154+
│ │ │ .4.10 │ │ .4.11 │ │ .4.12 │ │ .4.13 │ │ │
155+
│ │ └────────────┘ └────────────┘ └────────────┘ └────────────┘ │ │
156+
│ └────────────────────────────────────────────────────────────────────────┘ │
157+
│ │
158+
└──────────────────────────────────────────────────────────────────────────────┘
154159
```
155160

156161
---

0 commit comments

Comments
 (0)