debian-mirror-gitlab/doc/install/structure.md

22 lines
1.2 KiB
Markdown
Raw Normal View History

2014-09-02 18:07:02 +05:30
# GitLab directory structure
This is the directory structure you will end up with following the instructions in the Installation Guide.
|-- home
| |-- git
| |-- .ssh
| |-- gitlab
| |-- gitlab-satellites
| |-- gitlab-shell
| |-- repositories
* `/home/git/.ssh` - contains openssh settings. Specifically the `authorized_keys` file managed by gitlab-shell.
* `/home/git/gitlab` - GitLab core software.
* `/home/git/gitlab-satellites` - checked out repositories for merge requests and file editing from web UI. This can be treated as a temporary files directory.
2015-04-26 12:48:37 +05:30
* `/home/git/gitlab-shell` - Core add-on component of GitLab. Maintains SSH cloning and other functionality.
2014-09-02 18:07:02 +05:30
* `/home/git/repositories` - bare repositories for all projects organized by namespace. This is where the git repositories which are pushed/pulled are maintained for all projects. **This area is critical data for projects. [Keep a backup](../raketasks/backup_restore.md)**
2015-04-26 12:48:37 +05:30
*Note: the default locations for gitlab-satellites and repositories can be configured in `config/gitlab.yml` of GitLab and `config.yml` of gitlab-shell.*
2014-09-02 18:07:02 +05:30
To see a more in-depth overview see the [GitLab architecture doc](../development/architecture.md).