diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-31 18:22:32 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-31 18:31:44 +0300 |
commit | 1ce430e31133520cb5a661da58b4071f2547bc23 (patch) | |
tree | e641effc63007ce9edbe30adb29839801b2934d5 /doc/configuration/README.md | |
parent | 1e9706a574c74d4833e22b15899908a30d90b252 (diff) |
Add insecure TCP listener to Gitaly
Diffstat (limited to 'doc/configuration/README.md')
-rw-r--r-- | doc/configuration/README.md | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/doc/configuration/README.md b/doc/configuration/README.md index f2c6078fc..accb1ea54 100644 --- a/doc/configuration/README.md +++ b/doc/configuration/README.md @@ -5,18 +5,34 @@ application. Gitaly is configured via environment variables that start with `GITALY_`. It depends on how you installed GitLab how you should go -about setting these variables. **LINK TO DOCS SITE** +about setting these variables. See: +https://docs.gitlab.com/ce/administration/gitaly/ ## GITALY_SOCKET_PATH -Required. +Required unless GITALY_LISTEN_ADDR is set. -The path at which Gitaly should open a Unix socket. Example value: +A path at which Gitaly should open a Unix socket. Example value: ``` GITALY_SOCKET_PATH=/home/git/gitlab/tmp/sockets/private/gitaly.socket ``` +## GITALY_LISTEN_ADDR + +Required unless GITALY_SOCKET_PATH is set. + +TCP address for Gitaly to listen on. Note: at the moment Gitaly does +not offer any form of authentication. When you use a TCP listener you +must use firewalls or other network-based security to restrict access +to Gitaly. + +Example value: + +``` +GITALY_LISTEN_ADDR=localhost:1234 +``` + ## GITALY_PROMETHEUS_LISTEN_ADDR Optional. |