mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
update diagrams based upon helm updates
This commit is contained in:
parent
9e373a3444
commit
3a1cfcaea3
23
DIAGRAMS.md
23
DIAGRAMS.md
@ -99,9 +99,9 @@ C4Container
|
|||||||
System_Boundary(internal, "Kyoo") {
|
System_Boundary(internal, "Kyoo") {
|
||||||
Container(frontend, "front/")
|
Container(frontend, "front/")
|
||||||
Container(backend, "back/")
|
Container(backend, "back/")
|
||||||
|
ContainerQueue(emb, "emb", "", "EnterpriseMessageBus")
|
||||||
Container(transcoder, "transcoder/")
|
Container(transcoder, "transcoder/")
|
||||||
Container(scanner, "scanner/")
|
Container(scanner, "scanner/")
|
||||||
ContainerQueue(emb, "emb", "", "EnterpriseMessageBus")
|
|
||||||
Container(autosync, "autosync/")
|
Container(autosync, "autosync/")
|
||||||
}
|
}
|
||||||
System_Boundary(external, "") {
|
System_Boundary(external, "") {
|
||||||
@ -118,7 +118,6 @@ C4Container
|
|||||||
Rel(user, backend, "")
|
Rel(user, backend, "")
|
||||||
Rel(frontend, backend, "")
|
Rel(frontend, backend, "")
|
||||||
Rel(backend, emb, "")
|
Rel(backend, emb, "")
|
||||||
Rel(backend, media, "")
|
|
||||||
Rel(backend, transcoder, "")
|
Rel(backend, transcoder, "")
|
||||||
Rel_Back(autosync, emb, "")
|
Rel_Back(autosync, emb, "")
|
||||||
Rel(autosync, tracker, "")
|
Rel(autosync, tracker, "")
|
||||||
@ -162,7 +161,7 @@ C4Component
|
|||||||
### Back
|
### Back
|
||||||
```mermaid
|
```mermaid
|
||||||
C4Component
|
C4Component
|
||||||
UpdateLayoutConfig($c4ShapeInRow="4", $c4BoundaryInRow="3")
|
UpdateLayoutConfig($c4ShapeInRow="2", $c4BoundaryInRow="3")
|
||||||
|
|
||||||
title Component Diagram for Back
|
title Component Diagram for Back
|
||||||
|
|
||||||
@ -179,22 +178,21 @@ C4Component
|
|||||||
Component(backend_c2, "kyoo_back", "C#, .NET 8.0", "API Backend")
|
Component(backend_c2, "kyoo_back", "C#, .NET 8.0", "API Backend")
|
||||||
}
|
}
|
||||||
|
|
||||||
Container_Boundary(media, "MediaLibrary") {
|
Container_Boundary(emb, "emb") {
|
||||||
Component_Ext(media_c1, "MediaShare", "Volume", "Read Only")
|
ComponentQueue(emb_e2, "events.resource", "RabbitMQ, Exchange", "unused")
|
||||||
|
ComponentQueue(emb_q2, "scanner.rescan", "RabbitMQ, Queue", "")
|
||||||
|
ComponentQueue(emb_e1, "events.watched", "RabbitMQ, Exchange", "")
|
||||||
|
ComponentQueue(emb_q1, "autosync", "RabbitMQ, Queue", "")
|
||||||
}
|
}
|
||||||
|
|
||||||
Container_Boundary(transcoder, "transcoder") {
|
Container_Boundary(transcoder, "transcoder") {
|
||||||
Component(transcoder_c1, "kyoo_transcoder", "go, go", "Video Transcoder")
|
Component(transcoder_c1, "kyoo_transcoder", "go, go", "Video Transcoder")
|
||||||
}
|
}
|
||||||
Container_Boundary(emb, "emb") {
|
|
||||||
ComponentQueue(emb_e1, "events.watched", "RabbitMQ, Exchange", "")
|
|
||||||
ComponentQueue(emb_q2, "scanner.rescan", "RabbitMQ, Queue", "")
|
|
||||||
ComponentQueue(emb_q1, "autosync", "RabbitMQ, Queue", "")
|
|
||||||
ComponentQueue(emb_e2, "events.resource", "RabbitMQ, Exchange", "unused")
|
|
||||||
}
|
|
||||||
|
|
||||||
Container_Boundary(scanner, "scanner") {
|
Container_Boundary(scanner, "scanner") {
|
||||||
Component(scanner_c1, "kyoo_scanner", "python, python3.12", "scanner")
|
|
||||||
Component(scanner_c2, "kyoo_scanner", "python, python3.12", "matcher")
|
Component(scanner_c2, "kyoo_scanner", "python, python3.12", "matcher")
|
||||||
|
Component(scanner_c1, "kyoo_scanner", "python, python3.12", "scanner")
|
||||||
}
|
}
|
||||||
|
|
||||||
Container_Boundary(autosync, "autosync") {
|
Container_Boundary(autosync, "autosync") {
|
||||||
@ -206,7 +204,6 @@ C4Component
|
|||||||
Rel(backend_c1, backend_db1, "")
|
Rel(backend_c1, backend_db1, "")
|
||||||
Rel(backend_c2, backend_db1, "")
|
Rel(backend_c2, backend_db1, "")
|
||||||
Rel(backend_c2, backend_db2, "")
|
Rel(backend_c2, backend_db2, "")
|
||||||
Rel(backend_c2, media_c1, "")
|
|
||||||
Rel(backend_c2, transcoder_c1, "")
|
Rel(backend_c2, transcoder_c1, "")
|
||||||
Rel(backend_c2, backend_c3, "")
|
Rel(backend_c2, backend_c3, "")
|
||||||
Rel(backend_c2, emb_q2, "produces")
|
Rel(backend_c2, emb_q2, "produces")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user