summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Rodríguez <alejorro70@gmail.com>2017-01-29 14:26:09 -0300
committerAlejandro Rodríguez <alejorro70@gmail.com>2017-01-29 14:26:09 -0300
commit696e49cb36a709ba350ab82e13f3df51516b8334 (patch)
tree66866edd9f8bb5febe64224aa144b9a6f04a1d62
parentb525aff665f139cd12ac5a6df78d722427e759cc (diff)
downloadgitlab-ce-gitaly-doc.tar.gz
Add Gitaly configuration documentationgitaly-doc
-rw-r--r--config/gitlab.yml.example6
-rw-r--r--doc/administration/gitaly.md30
2 files changed, 35 insertions, 1 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index 42e5f105d46..5ab0e413f3c 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -534,6 +534,10 @@ production: &base
# Ban an IP for one hour (3600s) after too many auth attempts
# bantime: 3600
+ # Gitaly settings
+ # gitaly:
+ # socket_path: /home/git/gitaly/gitaly.socket
+
development:
<<: *base
@@ -586,4 +590,4 @@ test:
admin_group: ''
staging:
- <<: *base \ No newline at end of file
+ <<: *base
diff --git a/doc/administration/gitaly.md b/doc/administration/gitaly.md
new file mode 100644
index 00000000000..b09b5315754
--- /dev/null
+++ b/doc/administration/gitaly.md
@@ -0,0 +1,30 @@
+# Gitaly
+
+> [Introduced][ce-8440] in GitLab 8.16.
+
+
+[Gitaly][gitaly] is a Git RPC service for handling git calls made by GitLab. You
+can configure the path where Gitaly is located in GitLab's configuration. This
+configuration will be shared with all other components that make use of Gitaly.
+If you don't this configuration option, Gitaly features will be disabled.
+
+## Configure GitLab
+
+**For installations from source**
+
+1. Edit `gitlab.yml` and add the Gitaly path:
+
+ ```yaml
+ # Gitaly settings
+ gitaly:
+ socket_path: /home/git/gitaly/gitaly.socket
+ ```
+
+
+**For Omnibus installations**
+
+???
+
+
+[ce-8440]: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8440
+[gitaly]: https://gitlab.com/gitlab-org/gitaly/