summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Lambert <joshua@gitlab.com>2019-04-25 23:01:53 -0400
committerJoshua Lambert <joshua@gitlab.com>2019-04-25 23:01:53 -0400
commit6a4d3d3bf1f0bd31220e5bd1ec270922b3817a8d (patch)
treed88d1fd9cd593bbd454c3bdc23e671c8767bcd26
parentf04f6909cebac79704081bc4787099c613a70cf7 (diff)
downloadgitlab-ce-6a4d3d3bf1f0bd31220e5bd1ec270922b3817a8d.tar.gz
Attempt to move architecture diagram to mermaid
-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)_