Files
Nemera/docs/technical/architecture/2 container-diagram.puml
T

36 lines
2.0 KiB
Plaintext

@startuml Lumina Container Diagram
!include <C4/C4_Container>
LAYOUT_WITH_LEGEND()
title Container diagram for Lumina 1.1
Person(user, "Home User", "A person who wants to manage and stream their personal media collection")
Person(admin, "Administrator", "A person who manages the media library system")
System_Boundary(c1, "Lumina 1.1") {
Container(webapp, "Web Application Client 2.1", "ASP.NET Core MVC", "Delivers server-rendered views with dynamic client-side functionality for media management, playback, and the scheduled jobs dashboard [detailed in '3.1 component-web-client-diagram.puml']")
Container(api, "API Server 2.2", "ASP.NET Core", "Provides media management functionality via a REST API, processes media tasks, manages metadata synchronization, serves books for reading through format plugins, and runs the scheduled jobs that maintain the system [detailed in '3.2 component-api-server-diagram.puml']")
ContainerDb(db, "Database", "SQLite", "Stores user data, media metadata, library configuration, scheduled jobs and their executions, automated jobs information, etc")
Container(filestore, "Media Store", "File System", "Stores the actual media files")
Container(readCache, "Reading Cache", "File System", "Temporary directory in the API output, wiped at startup, where the reader plugins extract the contents of the books")
}
System_Ext(metadata, "Media Information Services", "External services like TMDB, TVDB, GoodReads, MusicBrainz, that provide media metadata")
Rel(user, webapp, "Uses", "HTTPS")
Rel(admin, webapp, "Manages media library and system settings", "HTTPS")
Rel(webapp, api, "Makes API calls to", "JSON/HTTPS")
Rel(api, db, "Reads from and writes to", "SQL")
Rel(api, filestore, "Reads from and writes to")
Rel(api, readCache, "Reads from and writes to", "File system")
Rel(api, metadata, "Retrieves metadata from", "HTTPS")
caption [Container] Lumina 1.1
footer The container diagram for the Lumina 1.1 - created with PlantUML
@enduml