Omit Gitaly path where not needed, add where required
This commit is contained in:
parent
000f7ed71f
commit
bca7fa81bf
1 changed files with 4 additions and 2 deletions
|
@ -247,8 +247,10 @@ gitlab:
|
|||
repositories:
|
||||
storages:
|
||||
default:
|
||||
path: /mnt/gitlab/default/repositories
|
||||
gitaly_address: tcp://gitaly.internal:8075
|
||||
storage1:
|
||||
path: /mnt/gitlab/storage1/repositories
|
||||
gitaly_address: tcp://gitaly.internal:8075
|
||||
|
||||
gitaly:
|
||||
|
@ -293,8 +295,8 @@ sum(rate(gitaly_connections_total[5m])) by (type)
|
|||
```ruby
|
||||
# /etc/gitlab/gitlab.rb
|
||||
git_data_dirs({
|
||||
'default' => { 'path' => '/mnt/gitlab/default', 'gitaly_address' => 'tls://gitaly.internal:9999' },
|
||||
'storage1' => { 'path' => '/mnt/gitlab/storage1', 'gitaly_address' => 'tls://gitaly.internal:9999' },
|
||||
'default' => { 'gitaly_address' => 'tls://gitaly.internal:9999' },
|
||||
'storage1' => { 'gitaly_address' => 'tls://gitaly.internal:9999' },
|
||||
})
|
||||
|
||||
gitlab_rails['gitaly_token'] = 'abc123secret'
|
||||
|
|
Loading…
Reference in a new issue