@@ -7,9 +7,14 @@ socket_path = "{{GITALY_SOCKET_PATH}}"
77# The directory where Gitaly's executables are stored
88bin_dir = " /usr/local/bin/"
99
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+
1015# # Optional: listen on a TCP socket. This is insecure (no authentication)
1116# listen_addr = "localhost:9999"
12- # tls_listen_addr = "localhost:8888
17+ # tls_listen_addr = "localhost:8888"
1318
1419# # Optional: export metrics via Prometheus
1520# prometheus_listen_addr = "localhost:9236"
@@ -32,6 +37,9 @@ bin_dir = "/usr/local/bin/"
3237# [git]
3338# bin_path = "/usr/bin/git"
3439# catfile_cache_size = 100
40+ # [[git.config]]
41+ # key = fetch.fsckObjects
42+ # value = true
3543
3644[[storage ]]
3745name = " default"
@@ -87,12 +95,54 @@ dir = "{{GITLAB_GITALY_INSTALL_DIR}}/ruby"
8795# The directory where gitlab-shell is installed
8896dir = " {{GITLAB_SHELL_INSTALL_DIR}}"
8997
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"
94100
95101[gitlab ]
96102secret_file = " /home/git/gitlab-shell/.gitlab_shell_secret"
97103url = " 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}}
98115
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