@@ -7,9 +7,14 @@ socket_path = "{{GITALY_SOCKET_PATH}}"
7
7
# The directory where Gitaly's executables are stored
8
8
bin_dir = " /usr/local/bin/"
9
9
10
+ # # Optional: The directory where Gitaly can create all files required to
11
+ # # properly operate at runtime. If not set, Gitaly will create a directory in
12
+ # # the global temporary directory. This directory must exist.
13
+ # runtime_dir = "/home/git/gitaly/run"
14
+
10
15
# # Optional: listen on a TCP socket. This is insecure (no authentication)
11
16
# listen_addr = "localhost:9999"
12
- # tls_listen_addr = "localhost:8888
17
+ # tls_listen_addr = "localhost:8888"
13
18
14
19
# # Optional: export metrics via Prometheus
15
20
# prometheus_listen_addr = "localhost:9236"
@@ -32,6 +37,9 @@ bin_dir = "/usr/local/bin/"
32
37
# [git]
33
38
# bin_path = "/usr/bin/git"
34
39
# catfile_cache_size = 100
40
+ # [[git.config]]
41
+ # key = fetch.fsckObjects
42
+ # value = true
35
43
36
44
[[storage ]]
37
45
name = " default"
@@ -87,12 +95,54 @@ dir = "{{GITLAB_GITALY_INSTALL_DIR}}/ruby"
87
95
# The directory where gitlab-shell is installed
88
96
dir = " {{GITLAB_SHELL_INSTALL_DIR}}"
89
97
90
- # # You can adjust the concurrency of each RPC endpoint
91
- # [[concurrency]]
92
- # rpc = "/gitaly.RepositoryService/GarbageCollect"
93
- # max_per_repo = 1
98
+ [hooks ]
99
+ custom_hooks_dir = " /home/git/gitlab-shell/hooks"
94
100
95
101
[gitlab ]
96
102
secret_file = " /home/git/gitlab-shell/.gitlab_shell_secret"
97
103
url = " http://localhost:8181{{GITLAB_RELATIVE_URL_ROOT}}"
104
+ # Only needed if a UNIX socket is used in `url` and GitLab is configured to
105
+ # use a relative path (e.g. /gitlab).
106
+ # relative_url_root = '/gitlab'
107
+
108
+ [gitlab .http-settings ]
109
+ # read_timeout = 300
110
+ # user = someone
111
+ # password = somepass
112
+ # ca_file = /etc/ssl/cert.pem
113
+ # ca_path = /etc/pki/tls/certs
114
+ # self_signed_cert = {{SSL_SELF_SIGNED}}
98
115
116
+ # # You can adjust the concurrency of each RPC endpoint
117
+ # [[concurrency]]
118
+ # rpc = "/gitaly.RepositoryService/GarbageCollect"
119
+ # max_per_repo = 1
120
+ # max_queue_wait = "1m"
121
+ # max_queue_size = 10
122
+
123
+ # [[rate_limiting]]
124
+ # rpc = "/gitaly.SmartHTTPService/PostUploadPackWithSidechannel"
125
+ # interval = "1m"
126
+ # burst = 5
127
+
128
+ # Daily maintenance designates time slots to run daily to optimize and maintain
129
+ # enabled storages.
130
+ # [daily_maintenance]
131
+ # start_hour = 23
132
+ # start_minute = 30
133
+ # duration = "45m"
134
+ # storages = ["default"]
135
+ # disabled = false
136
+
137
+ # [cgroups]
138
+ # count = 10
139
+ # mountpoint = "/sys/fs/cgroup"
140
+ # hierarchy_root = "gitaly"
141
+
142
+ # [cgroups.memory]
143
+ # enabled = true
144
+ # limit = 1048576
145
+
146
+ # [cgroups.cpu]
147
+ # enabled = true
148
+ # shares = 512
0 commit comments