-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Milestone
Description
Description
C4Context
title Container diagram for Web Application (Single Server)
System_Boundary(server, "Single Server") {
Container(nginx, "Nginx Container", "Web Server", "Handles incoming HTTP requests and serves static content")
Container(phpfpm, "PHP-FPM Container", "Application Server", "Processes PHP scripts for dynamic content")
Container(phpcli, "PHP-CLI Container", "Command Line Interface", "Executes PHP scripts from the command line")
Container(phpcron, "PHP-Cron Container", "Scheduler", "Runs scheduled PHP tasks")
Container(postgres, "PostgreSQL Container", "Database", "Stores application data")
Container(pgbackup, "PG Backup Container", "Backup Service", "Performs regular backups of the PostgreSQL database")
}
Rel(nginx, phpfpm, "Forwards requests", "FastCGI")
Rel(phpfpm, postgres, "Reads/Writes data", "SQL/TCP")
Rel(phpcli, postgres, "Reads/Writes data", "SQL/TCP")
Rel(phpcron, postgres, "Reads/Writes data", "SQL/TCP")
Rel(pgbackup, postgres, "Backs up", "SQL/TCP")
Нотация — https://c4model.com/#ContainerDiagram
Example
No response
Metadata
Metadata
Assignees
Labels
No labels