diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-04-04 22:49:07 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2019-11-19 19:45:36 +0300 |
commit | 25fefd700f97f7349955b6103ab047676de758a6 (patch) | |
tree | 557c87dcfc6282f8f7de676a1ec1b0cbcb035199 /config.toml.example | |
parent | e3d79617cba8ca2dab01700d6af36bf4670b0341 (diff) |
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.
Diffstat (limited to 'config.toml.example')
-rw-r--r-- | config.toml.example | 5 |
1 files changed, 5 insertions, 0 deletions
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' |