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:
Diffstat (limited to '_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb')
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb b/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb
new file mode 100644
index 000000000..97fd512da
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb
@@ -0,0 +1,25 @@
+gitaly['enable'] = true
+gitaly['listen_addr'] = ':6666'
+
+# This instance will be serving the 'default' repository storage
+
+# Disable as many Omnibus services as we can
+unicorn['enable'] = false
+sidekiq['enable'] = false
+gitlab_workhorse['enable'] = false
+gitlab_monitor['enable'] = false
+prometheus_monitoring['enable'] = false
+redis['enable'] = false
+postgresql['enable']=false
+nginx['enable'] = false
+
+# We need these settings to prevent Omnibus from erroring out because
+# Postgres/Redis are unavailable
+gitlab_rails['rake_cache_clear'] = false
+gitlab_rails['auto_migrate'] = false
+
+# Use the remote internal API
+gitlab_rails['internal_api_url'] = 'http://app1:80'
+
+# We have to use the same token in all hosts for internal API authentication
+gitlab_shell['secret_token'] = 'f4kef1xedt0ken'