Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Документация: нарисовать стартовую схему целевой архитектуры #11

Open
mesilov opened this issue Sep 4, 2024 · 0 comments
Assignees

Comments

@mesilov
Copy link
Owner

mesilov commented Sep 4, 2024

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")
Loading

Нотация — https://c4model.com/#ContainerDiagram

Example

No response

@mesilov mesilov self-assigned this Sep 4, 2024
@mesilov mesilov added this to the Bitrix24Accounts milestone Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant