From 25fefd700f97f7349955b6103ab047676de758a6 Mon Sep 17 00:00:00 2001 From: Zeger-Jan van de Weg Date: Thu, 4 Apr 2019 21:49:07 +0200 Subject: Allow socket dir for Gitaly-Ruby to be configured In case the `/tmp` directory can't be used for security reasons, this can be configured. The default behaviour as in production right now will remain. So if nothing is set, `/tmp` will be reused. --- config.toml.example | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index fccfc31d9..9c5db6013 100644 --- a/config.toml.example +++ b/config.toml.example @@ -14,6 +14,11 @@ bin_dir = "/home/git/gitaly" # # Optional: export metrics via Prometheus # prometheus_listen_addr = "localhost:9236" +# # Optional: configure where the Gitaly creates the sockets for internal connections. If unset, Gitaly will create a randomly +# # named temp directory each time it boots. +# # Non Gitaly clients should never connect to these sockets. +# internal_socket_dir = "/home/git/gitlab/tmp/sockets/private/internal" + # # Optional: authenticate Gitaly requests using a shared secret # [auth] # token = 'abc123secret' -- cgit v1.2.3