Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab-gitlab.rb.j2 « templates « gitlab « roles « terraform « _support - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 814e81e7dd5977f589fff9d4a1b801a835f8844b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
external_url 'http://{{ groups['gitlabs'][0] }}'

gitaly['enable'] = false

git_data_dirs({
  "default" => {
    "gitaly_address" => "tcp://{{ groups['loadbalancers'][0] }}:2305",
    "gitaly_token" => '{{ praefect_external_token }}'
  }
})

gitlab_shell['secret_token'] = '{{ gitlab_shell_secret_token }}'

prometheus['scrape_configs'] = [
  {
    'job_name' => 'praefect',
    'static_configs' => [
      'targets' => [
{% for host in groups['praefects'] %}
        '{{ hostvars[host]['internal'] }}:9652', # praefect-{{ loop.index }}
{% endfor %}
      ]
    ]
  },
  {
    'job_name' => 'praefect-gitaly',
    'static_configs' => [
      'targets' => [
{% for host in groups['gitalies'] %}
        '{{ hostvars[host]['internal'] }}:9236', # gitaly-{{ loop.index }}
{% endfor %}
      ]
    ]
  }
]

grafana['disable_login_form'] = false