summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/development/architecture.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/development/architecture.md b/doc/development/architecture.md
index 115c8cfb9ff..d8a00f8ba00 100644
--- a/doc/development/architecture.md
+++ b/doc/development/architecture.md
@@ -210,6 +210,28 @@ To serve repositories over SSH there's an add-on application called gitlab-shell
### Components
+```mermaid
+graph TB
+ subgraph GitLab
+ SSH((SSH)) --TCP 22 --> GitLabShell(GitLab Shell)
+ HTTP(HTTP/HTTPS) -- TCP 80, 443 --> NGINX
+ GitLabShell --TCP 8080 -->Unicorn("Unicorn (GitLab Rails)")
+ GitLabShell --> Gitaly
+ GitLabShell --> Redis
+ Unicorn --> PostgreSQL
+ Unicorn --> Redis
+ Unicorn --> Gitaly
+ Redis --> Sidekiq
+ Sidekiq("Sidekiq (GitLab Rails)") --> PostgreSQL
+ GitLabWorkhorse(GitLab Workhorse) --> Unicorn
+ GitLabWorkhorse --> Redis
+ GitLabWorkhorse --> Gitaly
+ Gitaly --> Redis
+ NGINX --> GitLabWorkhorse
+ NGINX -- TCP 8090 --> GitLabPages(GitLab Pages)
+ end
+```
+
<img src="https://docs.google.com/drawings/d/1fBzAyklyveF-i-2q-OHUIqDkYfjjxC4mq5shwKSZHLs/pub?w=987&amp;h=797">
_[edit diagram (for GitLab team members only)](https://docs.google.com/drawings/d/1fBzAyklyveF-i-2q-OHUIqDkYfjjxC4mq5shwKSZHLs/edit)_