diff options
author | Mike Ricketts <rickettm@uk.ibm.com> | 2017-05-02 19:58:37 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-05-02 19:58:37 +0300 |
commit | 923d24289040fb086d81196c3b8aa7fe17c12502 (patch) | |
tree | 0c696115b16e3c023b37e46080033d8220368050 /doc/install/installation.md | |
parent | d048d9268cd12fd78a1d07fb46b5c94a2cc16961 (diff) |
#31560 Add repo parameter to gitaly:install and workhorse:install
Diffstat (limited to 'doc/install/installation.md')
-rw-r--r-- | doc/install/installation.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md index b6bbc2a0af6..dc807d93bbb 100644 --- a/doc/install/installation.md +++ b/doc/install/installation.md @@ -423,6 +423,11 @@ which is the recommended location. sudo -u git -H bundle exec rake "gitlab:workhorse:install[/home/git/gitlab-workhorse]" RAILS_ENV=production +You can specify a different Git repository by providing it as an extra paramter: + + sudo -u git -H bundle exec rake "gitlab:workhorse:install[/home/git/gitlab-workhorse,https://example.com/gitlab-workhorse.git]" RAILS_ENV=production + + ### Initialize Database and Activate Advanced Features sudo -u git -H bundle exec rake gitlab:setup RAILS_ENV=production @@ -466,6 +471,12 @@ with setting up Gitaly until you upgrade to GitLab 9.2 or later. # Fetch Gitaly source with Git and compile with Go sudo -u git -H bundle exec rake "gitlab:gitaly:install[/home/git/gitaly]" RAILS_ENV=production +You can specify a different Git repository by providing it as an extra paramter: + + sudo -u git -H bundle exec rake "gitlab:gitaly:install[/home/git/gitaly,https://example.com/gitaly.git]" RAILS_ENV=production + +Next, make sure gitaly configured: + # Restrict Gitaly socket access sudo chmod 0700 /home/git/gitlab/tmp/sockets/private sudo chown git /home/git/gitlab/tmp/sockets/private |