August 2019
Beginner
608 pages
16h 7m
English
I am not sure why there is an advanced section such as this in gitlab.yml, but the first options deal with repository settings. The main thing here is that you specify the path to the repositories shown as follows:
storages: default: path: /home/git/repositories/ gitaly_address: unix:/home/git/gitlab/tmp/sockets/private/gitaly.socket # gitaly_token: 'special token'
There is always a default entry, and you can specify a path and a gitaly_address here (also in the form of tcp://). You can override the global gitaly_token here.
GitLab has a backup or restore facility. It is in the form of a rake task. For example, you can invoke a backup task like this:
sudo -u git -H bundle exec rake gitlab:backup:create
The former command ...
Read now
Unlock full access