This is the directory structure you will end up with following the installation instructions.
/opt/gitlab
holds application code for GitLab and its dependencies./var/opt/gitlab
holds application data and configuration files that gitlab-ctl reconfigure writes to./etc/gitlab
holds configuration files for GitLab. These are the only files that you should ever have to edit manually./var/log/gitlab
contains all log data generated by components of GitLab.Within /var/opt/gitlab
, the following directories exist:
.ssh
- contains OpenSSH settings. Specifically the authorized_keys
file managed by gitlab-shell.gitlab-shell
- Core add-on component of GitLab. Maintains SSH cloning and other functionality.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 backupTo see a more in-depth overview see the GitLab architecture doc.