diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-16 18:17:42 +0300 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-03-16 18:17:42 +0300 |
commit | 7ed9cae238fab892e8087447e94d35e4d9e4e85f (patch) | |
tree | fea2e80a996ff32ab2b50d4ed7e86edf24a6effb | |
parent | 541c3ed2160a838c95bfd73323f7f40b0e2818df (diff) |
Add documentation for environment variables
-rw-r--r-- | doc/configuration/README.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/configuration/README.md b/doc/configuration/README.md new file mode 100644 index 000000000..f2c6078fc --- /dev/null +++ b/doc/configuration/README.md @@ -0,0 +1,29 @@ +# Configuring Gitaly + +This document describes how to configure the Gitaly server +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** + +## GITALY_SOCKET_PATH + +Required. + +The path at which Gitaly should open a Unix socket. Example value: + +``` +GITALY_SOCKET_PATH=/home/git/gitlab/tmp/sockets/private/gitaly.socket +``` + +## GITALY_PROMETHEUS_LISTEN_ADDR + +Optional. + +TCP listen address for Prometheus metrics. When missing or empty, no +Prometheus listener is started. + +``` +GITALY_PROMETHEUS_LISTEN_ADDR=localhost:9236 +``` |