Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-03-16 18:17:42 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-03-16 18:17:42 +0300
commit7ed9cae238fab892e8087447e94d35e4d9e4e85f (patch)
treefea2e80a996ff32ab2b50d4ed7e86edf24a6effb
parent541c3ed2160a838c95bfd73323f7f40b0e2818df (diff)
Add documentation for environment variables
-rw-r--r--doc/configuration/README.md29
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
+```