diff options
author | Sam Gleske <sag47@drexel.edu> | 2014-01-29 09:17:58 -0500 |
---|---|---|
committer | Sam Gleske <sag47@drexel.edu> | 2014-01-29 09:17:58 -0500 |
commit | d030f62e4b2cbeab342e6aa419d71d9d0f8515fc (patch) | |
tree | 38887fddb3b4626890ff6d72039b68075f3b37d3 /doc/development | |
parent | 2dc4179d7f43b7fc89a8427ccb83b8f3e5809c51 (diff) | |
download | gitlab-ce-d030f62e4b2cbeab342e6aa419d71d9d0f8515fc.tar.gz |
adding ref from structure to architecture
Diffstat (limited to 'doc/development')
-rw-r--r-- | doc/development/architecture.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/development/architecture.md b/doc/development/architecture.md index ba0b4d2117c..55d42860138 100644 --- a/doc/development/architecture.md +++ b/doc/development/architecture.md @@ -17,10 +17,15 @@ GitLab is primarily installed within the `/home/git` user home directory as `git ![GitLab Diagram Overview](resources/gitlab_diagram_overview.png "GitLab Diagram Overview") -A typical install of GitLab will be on RHEL or Ubuntu Linux. It uses Apache or nginx as a web front end to proxypass the Unicorn web server. Communication between Unicorn and the front end is usually HTTP but access via socket is also supported. The web front end accesses `~git/gitlab/public` bypassing the Unicorn server to serve static pages, uploads (e.g. avatar images or attachments), and precompiled assets. GitLab serves web pages and a [GitLab API](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/api) using the Unicorn web server. It uses Sidekiq as a job queue which, in turn, uses redis as a non-persistent database backend for job information, meta data, and incomming jobs. The GitLab web app uses MySQL or PostgreSQL for persistent database information (e.g. users, permissions, issues, other meta data). GitLab stores the bare git repositories it serves in `~git/repositories` by default. It also keeps default branch and hook information with the bare repository. GitLab maintains a checked out version of each repository in `~git/gitlab-satellites`. The satellite repository is used by the web interface for editing repositories and the wiki which is also a git repository. When serving repositories over HTTP/HTTPS GitLab utilizes the GitLab API to resolve authorization and access as well as serving git objects. +A typical install of GitLab will be on RHEL or Ubuntu Linux. It uses Apache or nginx as a web front end to proxypass the Unicorn web server. Communication between Unicorn and the front end is usually HTTP but access via socket is also supported. The web front end accesses `~git/gitlab/public` bypassing the Unicorn server to serve static pages, uploads (e.g. avatar images or attachments), and precompiled assets. GitLab serves web pages and a [GitLab API](https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/api) using the Unicorn web server. It uses Sidekiq as a job queue which, in turn, uses redis as a non-persistent database backend for job information, meta data, and incomming jobs. The GitLab web app uses MySQL or PostgreSQL for persistent database information (e.g. users, permissions, issues, other meta data). GitLab stores the bare git repositories it serves in `~git/repositories` by default. It also keeps default branch and hook information with the bare repository. `~git/gitlab-satellites` keeps checked out repositories when performing actions such as a merge request, editing files in the web interface, etc. The satellite repository is used by the web interface for editing repositories and the wiki which is also a git repository. When serving repositories over HTTP/HTTPS GitLab utilizes the GitLab API to resolve authorization and access as well as serving git objects. The add-on component gitlab-shell serves repositories over SSH. It manages the SSH keys within `~git/.ssh/authorized_keys` which should not be manually edited. gitlab-shell accesses the bare repositories directly to serve git objects and communicates with redis to submit jobs to Sidekiq for GitLab to process. gitlab-shell queries the GitLab API to determine authorization and access. +## Installation Folder Summary + +To summarize here's the [directory structure of the `git` user home directory](../install/structure.md). + + ## Processes ps aux | grep '^git' |