meldestelle/docs/01_Architecture/_archive/container_diagram.mermaid
Stefan Mogeritsch 276e3cc3dd docs(c4): migrate architecture diagrams to draw.io and refine container/workflow visualizations
- Replaced outdated `.puml` and `.mermaid` diagrams with modernized `.drawio` versions for enhanced clarity.
- Added `container_diagram.drawio` to depict offline-first architecture and backend synchronization workflow.
- Introduced `workflow_turnieranlage.drawio` to visualize the tournament creation process (3-step wizard).
- Archived legacy diagrams under `docs/01_Architecture/_archive` for reference.
2026-04-09 11:32:06 +02:00

34 lines
1.2 KiB
Plaintext

C4Container
title Container Diagram for Meldestelle System
Person(user, "User", "Meldestelle Staff")
System_Boundary(c1, "Meldestelle Platform") {
Container(webapp, "Single Page App / Desktop App", "Kotlin/Compose", "Provides UI for users")
Container(gateway, "API Gateway", "Spring Cloud Gateway", "Entry point, Routing, Resilience")
Container(ping_service, "Ping Service", "Spring Boot", "Handles Ping/Pong & Sync Tests")
ContainerDb(ping_db, "Ping DB", "PostgreSQL", "Stores Ping Events")
ContainerDb(valkey, "Cache", "Valkey (Redis)", "Session Store, Rate Limiting")
Container(consul, "Service Discovery", "Consul", "Service Registry")
Container(zipkin, "Tracing", "Zipkin", "Distributed Tracing")
}
System_Ext(keycloak, "Keycloak", "IAM")
Rel(user, webapp, "Uses", "HTTPS")
Rel(webapp, gateway, "API Requests", "JSON/HTTPS")
Rel(webapp, keycloak, "Auth", "OIDC")
Rel(gateway, ping_service, "Proxies", "HTTP")
Rel(gateway, consul, "Discover", "HTTP")
Rel(gateway, valkey, "Rate Limit", "Redis Protocol")
Rel(ping_service, ping_db, "Persist", "JDBC")
Rel(ping_service, zipkin, "Trace", "HTTP")
Rel(ping_service, consul, "Register", "HTTP")