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:
authorJohn Cai <jcai@gitlab.com>2019-06-28 19:50:38 +0300
committerJohn Cai <jcai@gitlab.com>2019-06-28 19:54:17 +0300
commitda38be75048ad466030e784e8c7846e054e2339f (patch)
tree93a263d8c58fdd351f8924fdf63367fded2cf830
parent6e1925500e9592545179749d526522ecbe180926 (diff)
docker for praefectjc-docker-for-praefect
-rw-r--r--Dockerfile11
-rw-r--r--_support/praefect-cluster/.gitignore3
-rw-r--r--_support/praefect-cluster/README.md15
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/gitlab-secrets.json42
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/gitlab.rb2129
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key5
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key.pub1
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key7
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key.pub1
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key27
-rw-r--r--_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key.pub1
-rw-r--r--_support/praefect-cluster/docker-compose.yml27
-rw-r--r--_support/praefect-cluster/gitaly1/config.toml27
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/gitlab-secrets.json42
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/gitlab.rb25
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key5
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key7
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key27
-rw-r--r--_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly2/config.toml27
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/gitlab-secrets.json42
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/gitlab.rb28
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key5
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key7
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key27
-rw-r--r--_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key.pub1
-rw-r--r--_support/praefect-cluster/gitaly3/config.toml27
-rw-r--r--_support/praefect-cluster/gitaly3/etc-gitlab/gitlab.rb28
-rw-r--r--_support/test-cluster/app1/etc-gitlab/gitlab.rb2
-rw-r--r--_support/test-cluster/gitaly2/etc-gitlab/gitlab.rb2
-rw-r--r--config.praefect.toml39
-rw-r--r--docker-compose.yml23
-rw-r--r--internal/praefect/admin/server.go2
37 files changed, 2663 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 56ac98b8d..b7dda4d3c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@
# See the _support/load-cluster/docker-compose.yml for an example of how to use
# this image
#
-FROM registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.11-git-2.18
+FROM registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6-golang-1.12-git-2.21
RUN mkdir -p /app/ruby
@@ -23,5 +23,12 @@ RUN apt-get update -qq && \
COPY . /app
-CMD ["/app/bin/gitaly", "/app/config/config.toml"]
+RUN mkdir /app/bin
+RUN rm /app/_build/makegen
+
+RUN cd /app && make _build/makegen
+
+RUN cd /app && make PREFIX=/app/bin
+
+CMD ["/app/bin/gitaly", "/app/config.toml"]
diff --git a/_support/praefect-cluster/.gitignore b/_support/praefect-cluster/.gitignore
new file mode 100644
index 000000000..ac1168cd8
--- /dev/null
+++ b/_support/praefect-cluster/.gitignore
@@ -0,0 +1,3 @@
+/gitaly1/data/
+/gitaly2/data/
+/gitaly3/data/
diff --git a/_support/praefect-cluster/README.md b/_support/praefect-cluster/README.md
new file mode 100644
index 000000000..0da46b576
--- /dev/null
+++ b/_support/praefect-cluster/README.md
@@ -0,0 +1,15 @@
+# Test cluster with multiple Gitaly servers
+
+This directory contains a
+[docker-compose.yml](https://docs.docker.com/compose/) and Omnibus
+GitLab configuration files to boot GitLab with multiple Gitaly servers
+behind it. This setup is meant for testing purposes only and SHOULD NOT be used
+in production environments because it handles secrets in an unsafe way.
+
+Boot the cluster with `docker-compose up`. After some time you can log
+in to your GitLab instance at `localhost:8080`.
+
+This template uses nightly docker images. To see what GitLab version you are
+currently running, run
+`docker-compose exec app1 grep gitlab-ce /opt/gitlab/version-manifest.txt`. To
+update to the latest nightly images run `docker-compose pull`.
diff --git a/_support/praefect-cluster/app1/etc-gitlab/gitlab-secrets.json b/_support/praefect-cluster/app1/etc-gitlab/gitlab-secrets.json
new file mode 100644
index 000000000..586d83e95
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/gitlab-secrets.json
@@ -0,0 +1,42 @@
+{
+ "gitlab_workhorse": {
+ "secret_token": "ObSFnDrQH28mpj82uTf4w83hYDeEae8cO0ogXAEud90="
+ },
+ "gitlab_shell": {
+ "secret_token": "f2dccf090ae489fd3bf0893dbf318afa9de634f10002b8ecb6cc1eae005c00f2b6648a4af99112af23e61cb7690363e254b49f2f2bfec9409f34ffc284c08fe9"
+ },
+ "gitlab_rails": {
+ "secret_key_base": "6ce29eaebf52ffaca3a1359d655444306baf7d723402372487ea3c4d4bd213a3838487b4fbe5d451ffcc2564dc1cac7582b65c5dc0a8e3cc077ef9a2fbb17eb6",
+ "db_key_base": "3d9acf8ee66679984104bf6a3afe7e6367f284a70738f8124352965d6a6d631a197e835ce8fa102ef1614af3bb6e230b3eb29989279c251cea73598b3326a4ee",
+ "otp_key_base": "36151628b3c18ed8f4b92b31c77ae862d36d07508100be85da59c98dacb260364fb09b2c6b611c3851a67623a6327261cd8ae10ce1bd278ff5ccb3891e34ee9f",
+ "openid_connect_signing_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIJKAIBAAKCAgEAqtfh5qax7Ea0+5oRTVVSQfyxFvDXeFaO0O3ws1dOcBpr4nB9\nYBM2hwhRAtvAENrcMN6nDF9izJhiM586zv0dpAAziNMTeCFPR9czTKHFiMDNObvc\nSh7uAj9WqwujetebRdYVvYDf7OWIrCg78mcNlRqHdRDTgJuD/BRz3YH+k81NqL4u\nzUaiW/tEtnvrmiV/xVDJZprKXl3XFmS2NHUkZv91TNMNJdEKcQILpRTRzVqWHiwc\nL4kw0PIXgAhauWqBEOmy0VOpJhWeMMw30wz+GG3WQFAXPBP8bxuRBBy4iQytVIa0\nMHPKuW6nwNIMeLPaI6MjCGwCE5CTzP6L51u5kE5ji03ujSUxuEBx1mjbVQHPXaEf\n9tGPpRilxyma9DUKXeAUKGjZOyajt2eNhhmwN568A1elj/vnSAMujkUh0ccfkOIw\nkNcdjgzsF3WyIECCMaUcBHJk4uKAsgTwZGXgyHEFv9QR6XuEdSUoSdtqkv6v6k5n\nXc7VUjyaaCKQQQKG7BE/9hfVw8j6nx+gW1iI0q+FF96R6c3S8BltEF94iXTfd5tf\n0Af4Nyw97CvrropyHiXYyDAWatfbR0+XjbxKrcZlKjQ4mXvhEMosK19Ov8pvp8+y\nYelDXCb1WtkHFFWlgiGFnIKWNiM98NExxqmQXchlr5hm1js1++257lBYRQsCAwEA\nAQKCAgAr+iJWYzaNoa3YzlI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Leqnz8oIK+1XW0IOyMNo1jKAzmZ7JgwlwT8GCV12nzKCxPt3YB1ArAwQHHR02a\nxVqPJhx1V8mLf5J3byeyyD5v95zYvEJ0WnvfZb2FaSMdfeQWiLZPyVnmB4P7lvGJ\nVNWx7NzbDP+cFUCMLCvPUEvmvvUGtc3+VIeWJ7s7O8Dsgeb8aE+vBAaIYlX4kt8i\nJTtKNt2PUp2pr6Os7sfacprDMMvdqwKb6aiz912Ow4iYVX3jpCumh3f5MHDOw141\nOn3/WiqfRH0+LZ6B9eQbeUNTTSiko8Yb/BxvHTLmcKjVGoLIkd02UhsJzKc=\n-----END RSA PRIVATE KEY-----\n"
+ },
+ "gitlab_pages": {
+ "admin_secret_token": "189ed50e788bafdb5d3009437155a7cf6c2a757772aa52fa1c2dc257dc294c6995aefac04ebc84a4f92921f476ce822534d05dc8bf122aa8a62ff4fd0c398494",
+ "gitlab_secret": null,
+ "gitlab_id": null,
+ "auth_secret": "0fc64918da51324bf461b2d66adea8a18eb4489a40ea4312f4bff113d67eaf32656a7464a4f987de87f0c10b45b3a40f56d2aa82d8eb4e00e9ae7678c1da7ef0"
+ },
+ "grafana": {
+ "secret_key": "0b822f848db6793b7dc7436f8afaf261",
+ "gitlab_secret": null,
+ "gitlab_application_id": null
+ },
+ "registry": {
+ "http_secret": "d9d340c93ca19fa87e2dbc1300cc55a06207c865d628711f2ee38e7716a1ef8d417e5c49180903963bd2814c1503bf902a7d008e3674a1ce6a02299b59889889",
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBTCCAu2gAwIBAgIBADANBgkqhkiG9w0BAQsFADBGMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjESMBAGA1UECwwJQ29udGFpbmVyMREwDwYDVQQDDAhS\nZWdpc3RyeTAeFw0xOTA2MjcyMzI2MTlaFw0yOTA2MjQyMzI2MTlaMEYxDDAKBgNV\nBAYTA1VTQTEPMA0GA1UECgwGR2l0TGFiMRIwEAYDVQQLDAl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yvqeurha8A9lYBLv3dvraN4FEhwKtBYJiGm77+U3k28ta59AIgEa\nT/9HsPv3/2mRO5nTuaJXRb4LoFqf9nvVl7feCNgDDmitho1xl9s2nlTcbf3rVPle\nB1lgrRzto5jO1MSx3kZo/FKQKKptMjECggEAH9O0MfA4FA6f61tQQ0aEo9kDcgW0\ngAlc7Gj9rKUzr8OcusamMZxeUpz83qzkFRDCtA+EsJg36Tf/5IvGRK3yMCuLexMQ\nRquAqkRZLEWSN0JFRAb7ZoyLVahGxAsdznmOUk4WnE+CNx+UAJoPiXMZwXIc8oEK\nOGUtXAA8eXpTtJNQcd/Bm/vY513UQiHCuA55+Kev68P3P/qbQTSPCqb8PaSNBwb1\n9AVxci8hKn9viMGl8iLZhA1gNj+XD6si8CQLde/0N5ow7z1Jh2fxeY1F22wyOlIT\nd856rXuXAg9PXaoYjpdoAIS/TVrsqSUi4PEpuB5Us9JB/9GXPNB4Y/P6hQ==\n-----END RSA PRIVATE KEY-----\n"
+ },
+ "letsencrypt": {
+ "auto_enabled": null
+ },
+ "mattermost": {
+ "email_invite_salt": "f10d3b38da6bfdd06c658cd99c9d1dd4",
+ "file_public_link_salt": "544142c0f1d8e0e424d488653622d79e",
+ "sql_at_rest_encrypt_key": "fd284c60ac2e5be2a92f399127a69fa5"
+ },
+ "postgresql": {
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBzCCAu+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBHMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzARBgNVBAMMClBv\nc3RncmVTUUwwHhcNMTkwNjI3MjMyNjIwWhcNMjkwNjI0MjMyNjIwWjBHMQwwCgYD\nVQQGEwNVU0ExDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzAR\nBgNVBAMMClBvc3RncmVTUUwwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC\nAQ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aije0RfljItokn8Y7FYOG3iBjQhxModLifWA92PTCcXaLU\n9JGvx8uuVf+4eUbDrpw3Ey7b+BZhvbyFAoIBADwWiFx0hNs68vjiLoICGADxWqva\nf/hRpmUbQlMEbx8YTwHj6y/qFTLHXGGLVZPC9YNFQloOXhbXB5Zeu5h8YdKS5J1h\nw7UwGgPVvaA7K3O8WOf9oqvjW53s1jzDq9918D2s0W8edO9Rc/FD8xY07bMv9JT4\nxS/4KB/2mPysiBDd2ux5z/N9K2G6ANP2YAQbQTCiJxO9aoOU9ZLKH91Y4K+Loap7\nKXoLRCm8eb+tKkicLtWtKrQmWQmvrF5ub3HpHMm0Vj1AvHWIYC6VdOmAAzGPItoH\nEFPJFJxbHW0WmKV+n1UcY06uCqq3ji1Yb4jt/Vd/Ni0fnmTx73NQsQ5c1ss=\n-----END RSA PRIVATE KEY-----\n"
+ }
+}
diff --git a/_support/praefect-cluster/app1/etc-gitlab/gitlab.rb b/_support/praefect-cluster/app1/etc-gitlab/gitlab.rb
new file mode 100644
index 000000000..5ccbc6dd3
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/gitlab.rb
@@ -0,0 +1,2129 @@
+## GitLab configuration settings
+##! This file is generated during initial installation and **is not** modified
+##! during upgrades.
+##! Check out the latest version of this file to know about the different
+##! settings that can be configured by this file, which may be found at:
+##! https://gitlab.com/gitlab-org/omnibus-gitlab/raw/master/files/gitlab-config-template/gitlab.rb.template
+
+
+## GitLab URL
+##! URL on which GitLab will be reachable.
+##! For more details on configuring external_url see:
+##! https://docs.gitlab.com/omnibus/settings/configuration.html#configuring-the-external-url-for-gitlab
+# external_url 'GENERATED_EXTERNAL_URL'
+
+## Roles for multi-instance GitLab
+##! The default is to have no roles enabled, which results in GitLab running as an all-in-one instance.
+##! Options:
+##! redis_sentinel_role redis_master_role redis_slave_role geo_primary_role geo_secondary_role
+##! For more details on each role, see:
+##! https://docs.gitlab.com/omnibus/roles/README.html#roles
+##!
+# roles ['redis_sentinel_role', 'redis_master_role']
+
+## Legend
+##! The following notations at the beginning of each line may be used to
+##! differentiate between components of this file and to easily select them using
+##! a regex.
+##! ## Titles, subtitles etc
+##! ##! More information - Description, Docs, Links, Issues etc.
+##! Configuration settings have a single # followed by a single space at the
+##! beginning; Remove them to enable the setting.
+
+##! **Configuration settings below are optional.**
+##! **The values currently assigned are only examples and ARE NOT the default
+##! values.**
+
+
+################################################################################
+################################################################################
+## Configuration Settings for GitLab CE and EE ##
+################################################################################
+################################################################################
+
+################################################################################
+## gitlab.yml configuration
+##! Docs: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/gitlab.yml.md
+################################################################################
+# gitlab_rails['gitlab_ssh_host'] = 'ssh.host_example.com'
+# gitlab_rails['time_zone'] = 'UTC'
+
+### Email Settings
+# gitlab_rails['gitlab_email_enabled'] = true
+# gitlab_rails['gitlab_email_from'] = 'example@example.com'
+# gitlab_rails['gitlab_email_display_name'] = 'Example'
+# gitlab_rails['gitlab_email_reply_to'] = 'noreply@example.com'
+# gitlab_rails['gitlab_email_subject_suffix'] = ''
+
+### GitLab user privileges
+# gitlab_rails['gitlab_default_can_create_group'] = true
+# gitlab_rails['gitlab_username_changing_enabled'] = true
+
+### Default Theme
+# gitlab_rails['gitlab_default_theme'] = 2
+
+### Default project feature settings
+# gitlab_rails['gitlab_default_projects_features_issues'] = true
+# gitlab_rails['gitlab_default_projects_features_merge_requests'] = true
+# gitlab_rails['gitlab_default_projects_features_wiki'] = true
+# gitlab_rails['gitlab_default_projects_features_snippets'] = true
+# gitlab_rails['gitlab_default_projects_features_builds'] = true
+# gitlab_rails['gitlab_default_projects_features_container_registry'] = true
+
+### Automatic issue closing
+###! See https://docs.gitlab.com/ce/customization/issue_closing.html for more
+###! information about this pattern.
+# gitlab_rails['gitlab_issue_closing_pattern'] = "\b((?:[Cc]los(?:e[sd]?|ing)|\b[Ff]ix(?:e[sd]|ing)?|\b[Rr]esolv(?:e[sd]?|ing)|\b[Ii]mplement(?:s|ed|ing)?)(:?) +(?:(?:issues? +)?%{issue_ref}(?:(?:, *| +and +)?)|([A-Z][A-Z0-9_]+-\d+))+)"
+
+### Download location
+###! When a user clicks e.g. 'Download zip' on a project, a temporary zip file
+###! is created in the following directory.
+###! Should not be the same path, or a sub directory of any of the `git_data_dirs`
+# gitlab_rails['gitlab_repository_downloads_path'] = 'tmp/repositories'
+
+### Gravatar Settings
+# gitlab_rails['gravatar_plain_url'] = 'http://www.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon'
+# gitlab_rails['gravatar_ssl_url'] = 'https://secure.gravatar.com/avatar/%{hash}?s=%{size}&d=identicon'
+
+### Auxiliary jobs
+###! Periodically executed jobs, to self-heal Gitlab, do external
+###! synchronizations, etc.
+###! Docs: https://github.com/ondrejbartas/sidekiq-cron#adding-cron-job
+###! https://docs.gitlab.com/ce/ci/yaml/README.html#artifacts:expire_in
+# gitlab_rails['stuck_ci_jobs_worker_cron'] = "0 0 * * *"
+# gitlab_rails['expire_build_artifacts_worker_cron'] = "50 * * * *"
+# gitlab_rails['pipeline_schedule_worker_cron'] = "41 * * * *"
+# gitlab_rails['ci_archive_traces_cron_worker_cron'] = "17 * * * *"
+# gitlab_rails['repository_check_worker_cron'] = "20 * * * *"
+# gitlab_rails['admin_email_worker_cron'] = "0 0 * * 0"
+# gitlab_rails['repository_archive_cache_worker_cron'] = "0 * * * *"
+# gitlab_rails['pages_domain_verification_cron_worker'] = "*/15 * * * *"
+# gitlab_rails['pages_domain_removal_cron_worker'] = "47 0 * * *"
+# gitlab_rails['schedule_migrate_external_diffs_worker_cron'] = "15 * * * *"
+
+### Webhook Settings
+###! Number of seconds to wait for HTTP response after sending webhook HTTP POST
+###! request (default: 10)
+# gitlab_rails['webhook_timeout'] = 10
+
+### Trusted proxies
+###! Customize if you have GitLab behind a reverse proxy which is running on a
+###! different machine.
+###! **Add the IP address for your reverse proxy to the list, otherwise users
+###! will appear signed in from that address.**
+# gitlab_rails['trusted_proxies'] = []
+
+### Monitoring settings
+###! IP whitelist controlling access to monitoring endpoints
+# gitlab_rails['monitoring_whitelist'] = ['127.0.0.0/8', '::1/128']
+###! Time between sampling of unicorn socket metrics, in seconds
+# gitlab_rails['monitoring_unicorn_sampler_interval'] = 10
+
+### Reply by email
+###! Allow users to comment on issues and merge requests by replying to
+###! notification emails.
+###! Docs: https://docs.gitlab.com/ce/administration/reply_by_email.html
+# gitlab_rails['incoming_email_enabled'] = true
+
+#### Incoming Email Address
+####! The email address including the `%{key}` placeholder that will be replaced
+####! to reference the item being replied to.
+####! **The placeholder can be omitted but if present, it must appear in the
+####! "user" part of the address (before the `@`).**
+# gitlab_rails['incoming_email_address'] = "gitlab-incoming+%{key}@gmail.com"
+
+#### Email account username
+####! **With third party providers, this is usually the full email address.**
+####! **With self-hosted email servers, this is usually the user part of the
+####! email address.**
+# gitlab_rails['incoming_email_email'] = "gitlab-incoming@gmail.com"
+
+#### Email account password
+# gitlab_rails['incoming_email_password'] = "[REDACTED]"
+
+#### IMAP Settings
+# gitlab_rails['incoming_email_host'] = "imap.gmail.com"
+# gitlab_rails['incoming_email_port'] = 993
+# gitlab_rails['incoming_email_ssl'] = true
+# gitlab_rails['incoming_email_start_tls'] = false
+
+#### Incoming Mailbox Settings
+####! The mailbox where incoming mail will end up. Usually "inbox".
+# gitlab_rails['incoming_email_mailbox_name'] = "inbox"
+####! The IDLE command timeout.
+# gitlab_rails['incoming_email_idle_timeout'] = 60
+
+### Job Artifacts
+# gitlab_rails['artifacts_enabled'] = true
+# gitlab_rails['artifacts_path'] = "/var/opt/gitlab/gitlab-rails/shared/artifacts"
+####! Job artifacts Object Store
+####! Docs: https://docs.gitlab.com/ee/administration/job_artifacts.html#using-object-storage
+# gitlab_rails['artifacts_object_store_enabled'] = false
+# gitlab_rails['artifacts_object_store_direct_upload'] = false
+# gitlab_rails['artifacts_object_store_background_upload'] = true
+# gitlab_rails['artifacts_object_store_proxy_download'] = false
+# gitlab_rails['artifacts_object_store_remote_directory'] = "artifacts"
+# gitlab_rails['artifacts_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'host' => 's3.amazonaws.com',
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+### External merge request diffs
+# gitlab_rails['external_diffs_enabled'] = false
+# gitlab_rails['external_diffs_when'] = nil
+# gitlab_rails['external_diffs_storage_path'] = "/var/opt/gitlab/gitlab-rails/shared/external-diffs"
+# gitlab_rails['external_diffs_object_store_enabled'] = false
+# gitlab_rails['external_diffs_object_store_direct_upload'] = false
+# gitlab_rails['external_diffs_object_store_background_upload'] = false
+# gitlab_rails['external_diffs_object_store_proxy_download'] = false
+# gitlab_rails['external_diffs_object_store_remote_directory'] = "external-diffs"
+# gitlab_rails['external_diffs_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'host' => 's3.amazonaws.com',
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+### Git LFS
+# gitlab_rails['lfs_enabled'] = true
+# gitlab_rails['lfs_storage_path'] = "/var/opt/gitlab/gitlab-rails/shared/lfs-objects"
+# gitlab_rails['lfs_object_store_enabled'] = false
+# gitlab_rails['lfs_object_store_direct_upload'] = false
+# gitlab_rails['lfs_object_store_background_upload'] = true
+# gitlab_rails['lfs_object_store_proxy_download'] = false
+# gitlab_rails['lfs_object_store_remote_directory'] = "lfs-objects"
+# gitlab_rails['lfs_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'host' => 's3.amazonaws.com',
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+### GitLab uploads
+###! Docs: https://docs.gitlab.com/ee/administration/uploads.html
+# gitlab_rails['uploads_storage_path'] = "/var/opt/gitlab/gitlab-rails"
+# gitlab_rails['uploads_base_dir'] = "uploads/-/system"
+# gitlab_rails['uploads_object_store_enabled'] = false
+# gitlab_rails['uploads_object_store_direct_upload'] = false
+# gitlab_rails['uploads_object_store_background_upload'] = true
+# gitlab_rails['uploads_object_store_proxy_download'] = false
+# gitlab_rails['uploads_object_store_remote_directory'] = "uploads"
+# gitlab_rails['uploads_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'host' => 's3.amazonaws.com',
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+### Impersonation settings
+# gitlab_rails['impersonation_enabled'] = true
+
+### Usage Statistics
+# gitlab_rails['usage_ping_enabled'] = true
+
+### GitLab Mattermost
+###! These settings are void if Mattermost is installed on the same omnibus
+###! install
+# gitlab_rails['mattermost_host'] = "https://mattermost.example.com"
+
+### LDAP Settings
+###! Docs: https://docs.gitlab.com/omnibus/settings/ldap.html
+###! **Be careful not to break the indentation in the ldap_servers block. It is
+###! in yaml format and the spaces must be retained. Using tabs will not work.**
+
+# gitlab_rails['ldap_enabled'] = false
+
+###! **remember to close this block with 'EOS' below**
+# gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
+# main: # 'main' is the GitLab 'provider ID' of this LDAP server
+# label: 'LDAP'
+# host: '_your_ldap_server'
+# port: 389
+# uid: 'sAMAccountName'
+# bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
+# password: '_the_password_of_the_bind_user'
+# encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
+# verify_certificates: true
+# smartcard_auth: false
+# active_directory: true
+# allow_username_or_email_login: false
+# lowercase_usernames: false
+# block_auto_created_users: false
+# base: ''
+# user_filter: ''
+# ## EE only
+# group_base: ''
+# admin_group: ''
+# sync_ssh_keys: false
+#
+# secondary: # 'secondary' is the GitLab 'provider ID' of second LDAP server
+# label: 'LDAP'
+# host: '_your_ldap_server'
+# port: 389
+# uid: 'sAMAccountName'
+# bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
+# password: '_the_password_of_the_bind_user'
+# encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
+# verify_certificates: true
+# smartcard_auth: false
+# active_directory: true
+# allow_username_or_email_login: false
+# lowercase_usernames: false
+# block_auto_created_users: false
+# base: ''
+# user_filter: ''
+# ## EE only
+# group_base: ''
+# admin_group: ''
+# sync_ssh_keys: false
+# EOS
+
+### Smartcard authentication settings
+###! Docs: https://docs.gitlab.com/ee/administration/auth/smartcard.html
+# gitlab_rails['smartcard_enabled'] = false
+# gitlab_rails['smartcard_ca_file'] = "/etc/gitlab/ssl/CA.pem"
+# gitlab_rails['smartcard_client_certificate_required_port'] = 3444
+
+### OmniAuth Settings
+###! Docs: https://docs.gitlab.com/ce/integration/omniauth.html
+# gitlab_rails['omniauth_enabled'] = nil
+# gitlab_rails['omniauth_allow_single_sign_on'] = ['saml']
+# gitlab_rails['omniauth_sync_email_from_provider'] = 'saml'
+# gitlab_rails['omniauth_sync_profile_from_provider'] = ['saml']
+# gitlab_rails['omniauth_sync_profile_attributes'] = ['email']
+# gitlab_rails['omniauth_auto_sign_in_with_provider'] = 'saml'
+# gitlab_rails['omniauth_block_auto_created_users'] = true
+# gitlab_rails['omniauth_auto_link_ldap_user'] = false
+# gitlab_rails['omniauth_auto_link_saml_user'] = false
+# gitlab_rails['omniauth_external_providers'] = ['twitter', 'google_oauth2']
+# gitlab_rails['omniauth_providers'] = [
+# {
+# "name" => "google_oauth2",
+# "app_id" => "YOUR APP ID",
+# "app_secret" => "YOUR APP SECRET",
+# "args" => { "access_type" => "offline", "approval_prompt" => "" }
+# }
+# ]
+
+### Backup Settings
+###! Docs: https://docs.gitlab.com/omnibus/settings/backups.html
+
+# gitlab_rails['manage_backup_path'] = true
+# gitlab_rails['backup_path'] = "/var/opt/gitlab/backups"
+
+###! Docs: https://docs.gitlab.com/ce/raketasks/backup_restore.html#backup-archive-permissions
+# gitlab_rails['backup_archive_permissions'] = 0644
+
+# gitlab_rails['backup_pg_schema'] = 'public'
+
+###! The duration in seconds to keep backups before they are allowed to be deleted
+# gitlab_rails['backup_keep_time'] = 604800
+
+# gitlab_rails['backup_upload_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AKIAKIAKI',
+# 'aws_secret_access_key' => 'secret123'
+# }
+# gitlab_rails['backup_upload_remote_directory'] = 'my.s3.bucket'
+# gitlab_rails['backup_multipart_chunk_size'] = 104857600
+
+###! **Turns on AWS Server-Side Encryption with Amazon S3-Managed Keys for
+###! backups**
+# gitlab_rails['backup_encryption'] = 'AES256'
+###! The encryption key to use with AWS Server-Side Encryption.
+###! Setting this value will enable Server-Side Encryption with customer provided keys;
+###! otherwise S3-managed keys are used.
+# gitlab_rails['backup_encryption_key'] = '<base64-encoded encryption key>'
+
+###! **Specifies Amazon S3 storage class to use for backups. Valid values
+###! include 'STANDARD', 'STANDARD_IA', and 'REDUCED_REDUNDANCY'**
+# gitlab_rails['backup_storage_class'] = 'STANDARD'
+
+
+### Pseudonymizer Settings
+# gitlab_rails['pseudonymizer_manifest'] = 'config/pseudonymizer.yml'
+# gitlab_rails['pseudonymizer_upload_remote_directory'] = 'gitlab-elt'
+# gitlab_rails['pseudonymizer_upload_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AKIAKIAKI',
+# 'aws_secret_access_key' => 'secret123'
+# }
+
+
+### For setting up different data storing directory
+###! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#storing-git-data-in-an-alternative-directory
+###! **If you want to use a single non-default directory to store git data use a
+###! path that doesn't contain symlinks.**
+# git_data_dirs({
+# "default" => {
+# "path" => "/mnt/nfs-01/git-data"
+# }
+# })
+
+### Gitaly settings
+# gitlab_rails['gitaly_token'] = 'secret token'
+
+### For storing GitLab application uploads, eg. LFS objects, build artifacts
+###! Docs: https://docs.gitlab.com/ce/development/shared_files.html
+# gitlab_rails['shared_path'] = '/var/opt/gitlab/gitlab-rails/shared'
+
+### Wait for file system to be mounted
+###! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#only-start-omnibus-gitlab-services-after-a-given-filesystem-is-mounted
+# high_availability['mountpoint'] = ["/var/opt/gitlab/git-data", "/var/opt/gitlab/gitlab-rails/shared"]
+
+### GitLab Shell settings for GitLab
+# gitlab_rails['gitlab_shell_ssh_port'] = 22
+# gitlab_rails['gitlab_shell_git_timeout'] = 800
+
+### Extra customization
+# gitlab_rails['extra_google_analytics_id'] = '_your_tracking_id'
+# gitlab_rails['extra_piwik_url'] = '_your_piwik_url'
+# gitlab_rails['extra_piwik_site_id'] = '_your_piwik_site_id'
+
+##! Docs: https://docs.gitlab.com/omnibus/settings/environment-variables.html
+# gitlab_rails['env'] = {
+# 'BUNDLE_GEMFILE' => "/opt/gitlab/embedded/service/gitlab-rails/Gemfile",
+# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin"
+# }
+
+# gitlab_rails['rack_attack_git_basic_auth'] = {
+# 'enabled' => false,
+# 'ip_whitelist' => ["127.0.0.1"],
+# 'maxretry' => 10,
+# 'findtime' => 60,
+# 'bantime' => 3600
+# }
+
+# gitlab_rails['rack_attack_protected_paths'] = [
+# '/users/password',
+# '/users/sign_in',
+# '/api/#{API::API.version}/session.json',
+# '/api/#{API::API.version}/session',
+# '/users',
+# '/users/confirmation',
+# '/unsubscribes/',
+# '/import/github/personal_access_token'
+# ]
+
+###! **We do not recommend changing these directories.**
+# gitlab_rails['dir'] = "/var/opt/gitlab/gitlab-rails"
+# gitlab_rails['log_directory'] = "/var/log/gitlab/gitlab-rails"
+
+### GitLab application settings
+# gitlab_rails['uploads_directory'] = "/var/opt/gitlab/gitlab-rails/uploads"
+# gitlab_rails['rate_limit_requests_per_period'] = 10
+# gitlab_rails['rate_limit_period'] = 60
+
+#### Change the initial default admin password and shared runner registration tokens.
+####! **Only applicable on initial setup, changing these settings after database
+####! is created and seeded won't yield any change.**
+# gitlab_rails['initial_root_password'] = "password"
+# gitlab_rails['initial_shared_runners_registration_token'] = "token"
+
+#### Set path to an initial license to be used while bootstrapping GitLab.
+####! **Only applicable on initial setup, future license updations need to be done via UI.
+####! Updating the file specified in this path won't yield any change after the first reconfigure run.
+# gitlab_rails['iniitial_license_file'] = '/etc/gitlab/company.gitlab-license'
+
+#### Enable or disable automatic database migrations
+# gitlab_rails['auto_migrate'] = true
+
+#### This is advanced feature used by large gitlab deployments where loading
+#### whole RAILS env takes a lot of time.
+# gitlab_rails['rake_cache_clear'] = true
+
+### GitLab database settings
+###! Docs: https://docs.gitlab.com/omnibus/settings/database.html
+###! **Only needed if you use an external database.**
+# gitlab_rails['db_adapter'] = "postgresql"
+# gitlab_rails['db_encoding'] = "unicode"
+# gitlab_rails['db_collation'] = nil
+# gitlab_rails['db_database'] = "gitlabhq_production"
+# gitlab_rails['db_pool'] = 10
+# gitlab_rails['db_username'] = "gitlab"
+# gitlab_rails['db_password'] = nil
+# gitlab_rails['db_host'] = nil
+# gitlab_rails['db_port'] = 5432
+# gitlab_rails['db_socket'] = nil
+# gitlab_rails['db_sslmode'] = nil
+# gitlab_rails['db_sslcompression'] = 0
+# gitlab_rails['db_sslrootcert'] = nil
+# gitlab_rails['db_prepared_statements'] = false
+# gitlab_rails['db_statements_limit'] = 1000
+
+
+### GitLab Redis settings
+###! Connect to your own Redis instance
+###! Docs: https://docs.gitlab.com/omnibus/settings/redis.html
+
+#### Redis TCP connection
+# gitlab_rails['redis_host'] = "127.0.0.1"
+# gitlab_rails['redis_port'] = 6379
+# gitlab_rails['redis_ssl'] = false
+# gitlab_rails['redis_password'] = nil
+# gitlab_rails['redis_database'] = 0
+# gitlab_rails['redis_enable_client'] = true
+
+#### Redis local UNIX socket (will be disabled if TCP method is used)
+# gitlab_rails['redis_socket'] = "/var/opt/gitlab/redis/redis.socket"
+
+#### Sentinel support
+####! To have Sentinel working, you must enable Redis TCP connection support
+####! above and define a few Sentinel hosts below (to get a reliable setup
+####! at least 3 hosts).
+####! **You don't need to list every sentinel host, but the ones not listed will
+####! not be used in a fail-over situation to query for the new master.**
+# gitlab_rails['redis_sentinels'] = [
+# {'host' => '127.0.0.1', 'port' => 26379},
+# ]
+
+#### Separate instances support
+###! Docs: https://docs.gitlab.com/omnibus/settings/redis.html#running-with-multiple-redis-instances
+# gitlab_rails['redis_cache_instance'] = nil
+# gitlab_rails['redis_cache_sentinels'] = nil
+# gitlab_rails['redis_queues_instance'] = nil
+# gitlab_rails['redis_queues_sentinels'] = nil
+# gitlab_rails['redis_shared_state_instance'] = nil
+# gitlab_rails['redis_shared_sentinels'] = nil
+
+### GitLab email server settings
+###! Docs: https://docs.gitlab.com/omnibus/settings/smtp.html
+###! **Use smtp instead of sendmail/postfix.**
+
+# gitlab_rails['smtp_enable'] = true
+# gitlab_rails['smtp_address'] = "smtp.server"
+# gitlab_rails['smtp_port'] = 465
+# gitlab_rails['smtp_user_name'] = "smtp user"
+# gitlab_rails['smtp_password'] = "smtp password"
+# gitlab_rails['smtp_domain'] = "example.com"
+# gitlab_rails['smtp_authentication'] = "login"
+# gitlab_rails['smtp_enable_starttls_auto'] = true
+# gitlab_rails['smtp_tls'] = false
+
+###! **Can be: 'none', 'peer', 'client_once', 'fail_if_no_peer_cert'**
+###! Docs: http://api.rubyonrails.org/classes/ActionMailer/Base.html
+# gitlab_rails['smtp_openssl_verify_mode'] = 'none'
+
+# gitlab_rails['smtp_ca_path'] = "/etc/ssl/certs"
+# gitlab_rails['smtp_ca_file'] = "/etc/ssl/certs/ca-certificates.crt"
+
+################################################################################
+## Container Registry settings
+##! Docs: https://docs.gitlab.com/ce/administration/container_registry.html
+################################################################################
+
+# registry_external_url 'https://registry.gitlab.example.com'
+
+### Settings used by GitLab application
+# gitlab_rails['registry_enabled'] = true
+# gitlab_rails['registry_host'] = "registry.gitlab.example.com"
+# gitlab_rails['registry_port'] = "5005"
+# gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
+
+###! **Do not change the following 3 settings unless you know what you are
+###! doing**
+# gitlab_rails['registry_api_url'] = "http://localhost:5000"
+# gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key"
+# gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer"
+
+### Settings used by Registry application
+# registry['enable'] = true
+# registry['username'] = "registry"
+# registry['group'] = "registry"
+# registry['uid'] = nil
+# registry['gid'] = nil
+# registry['dir'] = "/var/opt/gitlab/registry"
+# registry['registry_http_addr'] = "localhost:5000"
+# registry['debug_addr'] = "localhost:5001"
+# registry['log_directory'] = "/var/log/gitlab/registry"
+# registry['env_directory'] = "/opt/gitlab/etc/registry/env"
+# registry['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+# registry['log_level'] = "info"
+# registry['log_formatter'] = "text"
+# registry['rootcertbundle'] = "/var/opt/gitlab/registry/certificate.crt"
+# registry['health_storagedriver_enabled'] = true
+# registry['storage_delete_enabled'] = true
+# registry['validation_enabled'] = false
+# registry['autoredirect'] = false
+# registry['compatibility_schema1_enabled'] = false
+
+### Registry backend storage
+###! Docs: https://docs.gitlab.com/ce/administration/container_registry.html#container-registry-storage-driver
+# registry['storage'] = {
+# 's3' => {
+# 'accesskey' => 'AKIAKIAKI',
+# 'secretkey' => 'secret123',
+# 'bucket' => 'gitlab-registry-bucket-AKIAKIAKI'
+# }
+# }
+
+### Registry notifications endpoints
+# registry['notifications'] = [
+# {
+# 'name' => 'test_endpoint',
+# 'url' => 'https://gitlab.example.com/notify2',
+# 'timeout' => '500ms',
+# 'threshold' => 5,
+# 'backoff' => '1s',
+# 'headers' => {
+# "Authorization" => ["AUTHORIZATION_EXAMPLE_TOKEN"]
+# }
+# }
+# ]
+### Default registry notifications
+# registry['default_notifications_timeout'] = "500ms"
+# registry['default_notifications_threshold'] = 5
+# registry['default_notifications_backoff'] = "1s"
+# registry['default_notifications_headers'] = {}
+
+################################################################################
+## Error Reporting and Logging with Sentry
+################################################################################
+# gitlab_rails['sentry_enabled'] = false
+# gitlab_rails['sentry_dsn'] = 'https://<key>@sentry.io/<project>'
+# gitlab_rails['sentry_clientside_dsn'] = 'https://<key>@sentry.io/<project>'
+# gitlab_rails['sentry_environment'] = 'production'
+
+################################################################################
+## GitLab Workhorse
+##! Docs: https://gitlab.com/gitlab-org/gitlab-workhorse/blob/master/README.md
+################################################################################
+
+# gitlab_workhorse['enable'] = true
+# gitlab_workhorse['ha'] = false
+# gitlab_workhorse['listen_network'] = "unix"
+# gitlab_workhorse['listen_umask'] = 000
+# gitlab_workhorse['listen_addr'] = "/var/opt/gitlab/gitlab-workhorse/socket"
+# gitlab_workhorse['auth_backend'] = "http://localhost:8080"
+
+##! the empty string is the default in gitlab-workhorse option parser
+# gitlab_workhorse['auth_socket'] = "''"
+
+##! put an empty string on the command line
+# gitlab_workhorse['pprof_listen_addr'] = "''"
+
+# gitlab_workhorse['prometheus_listen_addr'] = "localhost:9229"
+
+# gitlab_workhorse['dir'] = "/var/opt/gitlab/gitlab-workhorse"
+# gitlab_workhorse['log_directory'] = "/var/log/gitlab/gitlab-workhorse"
+# gitlab_workhorse['proxy_headers_timeout'] = "1m0s"
+
+##! limit number of concurrent API requests, defaults to 0 which is unlimited
+# gitlab_workhorse['api_limit'] = 0
+
+##! limit number of API requests allowed to be queued, defaults to 0 which
+##! disables queuing
+# gitlab_workhorse['api_queue_limit'] = 0
+
+##! duration after which we timeout requests if they sit too long in the queue
+# gitlab_workhorse['api_queue_duration'] = "30s"
+
+##! Long polling duration for job requesting for runners
+# gitlab_workhorse['api_ci_long_polling_duration'] = "60s"
+
+##! Log format: default is text, can also be json or none.
+# gitlab_workhorse['log_format'] = "json"
+
+# gitlab_workhorse['env_directory'] = "/opt/gitlab/etc/gitlab-workhorse/env"
+# gitlab_workhorse['env'] = {
+# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin",
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+################################################################################
+## GitLab User Settings
+##! Modify default git user.
+##! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#changing-the-name-of-the-git-user-group
+################################################################################
+
+# user['username'] = "git"
+# user['group'] = "git"
+# user['uid'] = nil
+# user['gid'] = nil
+
+##! The shell for the git user
+# user['shell'] = "/bin/sh"
+
+##! The home directory for the git user
+# user['home'] = "/var/opt/gitlab"
+
+# user['git_user_name'] = "GitLab"
+# user['git_user_email'] = "gitlab@#{node['fqdn']}"
+
+################################################################################
+## GitLab Unicorn
+##! Tweak unicorn settings.
+##! Docs: https://docs.gitlab.com/omnibus/settings/unicorn.html
+################################################################################
+
+# unicorn['enable'] = true
+# unicorn['worker_timeout'] = 60
+###! Minimum worker_processes is 2 at this moment
+###! See https://gitlab.com/gitlab-org/gitlab-ce/issues/18771
+# unicorn['worker_processes'] = 2
+
+### Advanced settings
+# unicorn['listen'] = 'localhost'
+# unicorn['port'] = 8080
+# unicorn['socket'] = '/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket'
+# unicorn['pidfile'] = '/opt/gitlab/var/unicorn/unicorn.pid'
+# unicorn['tcp_nopush'] = true
+# unicorn['backlog_socket'] = 1024
+
+###! **Make sure somaxconn is equal or higher then backlog_socket**
+# unicorn['somaxconn'] = 1024
+
+###! **We do not recommend changing this setting**
+# unicorn['log_directory'] = "/var/log/gitlab/unicorn"
+
+### **Only change these settings if you understand well what they mean**
+###! Docs: https://about.gitlab.com/2015/06/05/how-gitlab-uses-unicorn-and-unicorn-worker-killer/
+###! https://github.com/kzk/unicorn-worker-killer
+# unicorn['worker_memory_limit_min'] = "400 * 1 << 20"
+# unicorn['worker_memory_limit_max'] = "650 * 1 << 20"
+
+################################################################################
+## GitLab Puma
+##! Tweak puma settings. You should only use Unicorn or Puma, not both.
+##! Docs: https://docs.gitlab.com/omnibus/settings/puma.html
+################################################################################
+
+# puma['enable'] = false
+# puma['ha'] = false
+# puma['worker_timeout'] = 60
+# puma['worker_processes'] = 2
+# puma['min_threads'] = 1
+# puma['max_threads'] = 16
+
+### Advanced settings
+# puma['listen'] = '127.0.0.1'
+# puma['port'] = 8080
+# puma['socket'] = '/var/opt/gitlab/gitlab-rails/sockets/gitlab.socket'
+# puma['pidfile'] = '/opt/gitlab/var/puma/puma.pid'
+# puma['state_path'] = '/opt/gitlab/var/puma/puma.state'
+
+###! **We do not recommend changing this setting**
+# puma['log_directory'] = "/var/log/gitlab/puma"
+
+### **Only change these settings if you understand well what they mean**
+###! Docs: https://github.com/schneems/puma_worker_killer
+# puma['per_worker_max_memory_mb'] = 650
+
+################################################################################
+## GitLab Sidekiq
+################################################################################
+
+# sidekiq['log_directory'] = "/var/log/gitlab/sidekiq"
+# sidekiq['log_format'] = "json"
+# sidekiq['shutdown_timeout'] = 4
+# sidekiq['concurrency'] = 25
+# sidekiq['metrics_enabled'] = true
+# sidekiq['listen_address'] = "localhost"
+# sidekiq['listen_port'] = 8082
+
+################################################################################
+## gitlab-shell
+################################################################################
+
+# gitlab_shell['audit_usernames'] = false
+# gitlab_shell['log_level'] = 'INFO'
+# gitlab_shell['log_format'] = 'json'
+# gitlab_shell['http_settings'] = { user: 'username', password: 'password', ca_file: '/etc/ssl/cert.pem', ca_path: '/etc/pki/tls/certs', self_signed_cert: false}
+# gitlab_shell['log_directory'] = "/var/log/gitlab/gitlab-shell/"
+# gitlab_shell['custom_hooks_dir'] = "/opt/gitlab/embedded/service/gitlab-shell/hooks"
+
+# gitlab_shell['auth_file'] = "/var/opt/gitlab/.ssh/authorized_keys"
+
+### Migration to Go feature flags
+###! Docs: https://gitlab.com/gitlab-org/gitlab-shell#migration-to-go-feature-flags
+# gitlab_shell['migration'] = { enabled: true, features: [] }
+
+### Git trace log file.
+###! If set, git commands receive GIT_TRACE* environment variables
+###! Docs: https://git-scm.com/book/es/v2/Git-Internals-Environment-Variables#Debugging
+###! An absolute path starting with / – the trace output will be appended to
+###! that file. It needs to exist so we can check permissions and avoid
+###! throwing warnings to the users.
+# gitlab_shell['git_trace_log_file'] = "/var/log/gitlab/gitlab-shell/gitlab-shell-git-trace.log"
+
+##! **We do not recommend changing this directory.**
+# gitlab_shell['dir'] = "/var/opt/gitlab/gitlab-shell"
+
+################################################################
+## GitLab PostgreSQL
+################################################################
+
+###! Changing any of these settings requires a restart of postgresql.
+###! By default, reconfigure reloads postgresql if it is running. If you
+###! change any of these settings, be sure to run `gitlab-ctl restart postgresql`
+###! after reconfigure in order for the changes to take effect.
+# postgresql['enable'] = true
+# postgresql['listen_address'] = nil
+# postgresql['port'] = 5432
+# postgresql['data_dir'] = "/var/opt/gitlab/postgresql/data"
+
+##! **recommend value is 1/4 of total RAM, up to 14GB.**
+# postgresql['shared_buffers'] = "256MB"
+
+### Advanced settings
+# postgresql['ha'] = false
+# postgresql['dir'] = "/var/opt/gitlab/postgresql"
+# postgresql['log_directory'] = "/var/log/gitlab/postgresql"
+# postgresql['username'] = "gitlab-psql"
+# postgresql['group'] = "gitlab-psql"
+##! `SQL_USER_PASSWORD_HASH` can be generated using the command `gitlab-ctl pg-password-md5 gitlab`
+# postgresql['sql_user_password'] = 'SQL_USER_PASSWORD_HASH'
+# postgresql['uid'] = nil
+# postgresql['gid'] = nil
+# postgresql['shell'] = "/bin/sh"
+# postgresql['home'] = "/var/opt/gitlab/postgresql"
+# postgresql['user_path'] = "/opt/gitlab/embedded/bin:/opt/gitlab/bin:$PATH"
+# postgresql['sql_user'] = "gitlab"
+# postgresql['max_connections'] = 200
+# postgresql['md5_auth_cidr_addresses'] = []
+# postgresql['trust_auth_cidr_addresses'] = []
+# postgresql['wal_buffers'] = "-1"
+# postgresql['autovacuum_max_workers'] = "3"
+# postgresql['autovacuum_freeze_max_age'] = "200000000"
+# postgresql['log_statement'] = nil
+# postgresql['track_activity_query_size'] = "1024"
+# postgresql['shared_preload_libraries'] = nil
+# postgresql['dynamic_shared_memory_type'] = nil
+# postgresql['hot_standby'] = "off"
+
+### SSL settings
+# See https://www.postgresql.org/docs/9.6/static/runtime-config-connection.html#GUC-SSL-CERT-FILE for more details
+# postgresql['ssl'] = 'on'
+# postgresql['ssl_ciphers'] = 'HIGH:MEDIUM:+3DES:!aNULL:!SSLv3:!TLSv1'
+# postgresql['ssl_cert_file'] = 'server.crt'
+# postgresql['ssl_key_file'] = 'server.key'
+# postgresql['ssl_ca_file'] = '/opt/gitlab/embedded/ssl/certs/cacert.pem'
+# postgresql['ssl_crl_file'] = nil
+
+### Replication settings
+###! Note, some replication settings do not require a full restart. They are documented below.
+# postgresql['wal_level'] = "hot_standby"
+# postgresql['max_wal_senders'] = 5
+# postgresql['max_replication_slots'] = 0
+# postgresql['max_locks_per_transaction'] = 128
+
+# Backup/Archive settings
+# postgresql['archive_mode'] = "off"
+
+###! Changing any of these settings only requires a reload of postgresql. You do not need to
+###! restart postgresql if you change any of these and run reconfigure.
+# postgresql['work_mem'] = "16MB"
+# postgresql['maintenance_work_mem'] = "16MB"
+# postgresql['checkpoint_segments'] = 10
+# postgresql['checkpoint_timeout'] = "5min"
+# postgresql['checkpoint_completion_target'] = 0.9
+# postgresql['effective_io_concurrency'] = 1
+# postgresql['checkpoint_warning'] = "30s"
+# postgresql['effective_cache_size'] = "1MB"
+# postgresql['shmmax'] = 17179869184 # or 4294967295
+# postgresql['shmall'] = 4194304 # or 1048575
+# postgresql['autovacuum'] = "on"
+# postgresql['log_autovacuum_min_duration'] = "-1"
+# postgresql['autovacuum_naptime'] = "1min"
+# postgresql['autovacuum_vacuum_threshold'] = "50"
+# postgresql['autovacuum_analyze_threshold'] = "50"
+# postgresql['autovacuum_vacuum_scale_factor'] = "0.02"
+# postgresql['autovacuum_analyze_scale_factor'] = "0.01"
+# postgresql['autovacuum_vacuum_cost_delay'] = "20ms"
+# postgresql['autovacuum_vacuum_cost_limit'] = "-1"
+# postgresql['statement_timeout'] = "60000"
+# postgresql['idle_in_transaction_session_timeout'] = "60000"
+# postgresql['log_line_prefix'] = "%a"
+# postgresql['max_worker_processes'] = 8
+# postgresql['max_parallel_workers_per_gather'] = 0
+# postgresql['log_lock_waits'] = 1
+# postgresql['deadlock_timeout'] = '5s'
+# postgresql['track_io_timing'] = 0
+# postgresql['default_statistics_target'] = 1000
+
+### Available in PostgreSQL 9.6 and later
+# postgresql['min_wal_size'] = 80MB
+# postgresql['max_wal_size'] = 1GB
+
+# Backup/Archive settings
+# postgresql['archive_command'] = nil
+# postgresql['archive_timeout'] = "0"
+
+### Replication settings
+# postgresql['sql_replication_user'] = "gitlab_replicator"
+# postgresql['sql_replication_password'] = "md5 hash of postgresql password" # You can generate with `gitlab-ctl pg-password-md5 <dbuser>`
+# postgresql['wal_keep_segments'] = 10
+# postgresql['max_standby_archive_delay'] = "30s"
+# postgresql['max_standby_streaming_delay'] = "30s"
+# postgresql['synchronous_commit'] = on
+# postgresql['synchronous_standby_names'] = ''
+# postgresql['hot_standby_feedback'] = 'off'
+# postgresql['random_page_cost'] = 2.0
+# postgresql['log_temp_files'] = -1
+# postgresql['log_checkpoints'] = 'off'
+# To add custom entries to pg_hba.conf use the following
+# postgresql['custom_pg_hba_entries'] = {
+# APPLICATION: [ # APPLICATION should identify what the settings are used for
+# {
+# type: example,
+# database: example,
+# user: example,
+# cidr: example,
+# method: example,
+# option: example
+# }
+# ]
+# }
+# See https://www.postgresql.org/docs/9.6/static/auth-pg-hba-conf.html for an explanation
+# of the values
+
+
+################################################################################
+## GitLab Redis
+##! **Can be disabled if you are using your own Redis instance.**
+##! Docs: https://docs.gitlab.com/omnibus/settings/redis.html
+################################################################################
+
+# redis['enable'] = true
+# redis['ha'] = false
+# redis['hz'] = 10
+# redis['dir'] = "/var/opt/gitlab/redis"
+# redis['log_directory'] = "/var/log/gitlab/redis"
+# redis['username'] = "gitlab-redis"
+# redis['group'] = "gitlab-redis"
+# redis['maxclients'] = "10000"
+# redis['maxmemory'] = "0"
+# redis['maxmemory_policy'] = "noeviction"
+# redis['maxmemory_samples'] = "5"
+# redis['tcp_backlog'] = 511
+# redis['tcp_timeout'] = "60"
+# redis['tcp_keepalive'] = "300"
+# redis['uid'] = nil
+# redis['gid'] = nil
+
+###! **To enable only Redis service in this machine, uncomment
+###! one of the lines below (choose master or slave instance types).**
+###! Docs: https://docs.gitlab.com/omnibus/settings/redis.html
+###! https://docs.gitlab.com/ce/administration/high_availability/redis.html
+# redis_master_role['enable'] = true
+# redis_slave_role['enable'] = true
+
+### Redis TCP support (will disable UNIX socket transport)
+# redis['bind'] = '0.0.0.0' # or specify an IP to bind to a single one
+# redis['port'] = 6379
+# redis['password'] = 'redis-password-goes-here'
+
+### Redis Sentinel support
+###! **You need a master slave Redis replication to be able to do failover**
+###! **Please read the documentation before enabling it to understand the
+###! caveats:**
+###! Docs: https://docs.gitlab.com/ce/administration/high_availability/redis.html
+
+### Replication support
+#### Slave Redis instance
+# redis['master'] = false # by default this is true
+
+#### Slave and Sentinel shared configuration
+####! **Both need to point to the master Redis instance to get replication and
+####! heartbeat monitoring**
+# redis['master_name'] = 'gitlab-redis'
+# redis['master_ip'] = nil
+# redis['master_port'] = 6379
+
+#### Support to run redis slaves in a Docker or NAT environment
+####! Docs: https://redis.io/topics/replication#configuring-replication-in-docker-and-nat
+# redis['announce_ip'] = nil
+# redis['announce_port'] = nil
+
+####! **Master password should have the same value defined in
+####! redis['password'] to enable the instance to transition to/from
+####! master/slave in a failover event.**
+# redis['master_password'] = 'redis-password-goes-here'
+
+####! Increase these values when your slaves can't catch up with master
+# redis['client_output_buffer_limit_normal'] = '0 0 0'
+# redis['client_output_buffer_limit_slave'] = '256mb 64mb 60'
+# redis['client_output_buffer_limit_pubsub'] = '32mb 8mb 60'
+
+#####! Redis snapshotting frequency
+#####! Set to [] to disable
+#####! Set to [''] to clear previously set values
+# redis['save'] = [ '900 1', '300 10', '60 10000' ]
+
+################################################################################
+## GitLab Web server
+##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html#using-a-non-bundled-web-server
+################################################################################
+
+##! When bundled nginx is disabled we need to add the external webserver user to
+##! the GitLab webserver group.
+# web_server['external_users'] = []
+# web_server['username'] = 'gitlab-www'
+# web_server['group'] = 'gitlab-www'
+# web_server['uid'] = nil
+# web_server['gid'] = nil
+# web_server['shell'] = '/bin/false'
+# web_server['home'] = '/var/opt/gitlab/nginx'
+
+################################################################################
+## GitLab NGINX
+##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html
+################################################################################
+
+# nginx['enable'] = true
+# nginx['client_max_body_size'] = '250m'
+# nginx['redirect_http_to_https'] = false
+# nginx['redirect_http_to_https_port'] = 80
+
+##! Most root CA's are included by default
+# nginx['ssl_client_certificate'] = "/etc/gitlab/ssl/ca.crt"
+
+##! enable/disable 2-way SSL client authentication
+# nginx['ssl_verify_client'] = "off"
+
+##! if ssl_verify_client on, verification depth in the client certificates chain
+# nginx['ssl_verify_depth'] = "1"
+
+# nginx['ssl_certificate'] = "/etc/gitlab/ssl/#{node['fqdn']}.crt"
+# nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/#{node['fqdn']}.key"
+# nginx['ssl_ciphers'] = "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256"
+# nginx['ssl_prefer_server_ciphers'] = "on"
+
+##! **Recommended by: https://raymii.org/s/tutorials/Strong_SSL_Security_On_nginx.html
+##! https://cipherli.st/**
+# nginx['ssl_protocols'] = "TLSv1.2"
+
+##! **Recommended in: https://nginx.org/en/docs/http/ngx_http_ssl_module.html**
+# nginx['ssl_session_cache'] = "builtin:1000 shared:SSL:10m"
+
+##! **Default according to https://nginx.org/en/docs/http/ngx_http_ssl_module.html**
+# nginx['ssl_session_timeout'] = "5m"
+
+# nginx['ssl_dhparam'] = nil # Path to dhparams.pem, eg. /etc/gitlab/ssl/dhparams.pem
+# nginx['listen_addresses'] = ['*', '[::]']
+
+##! **Defaults to forcing web browsers to always communicate using only HTTPS**
+##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html#setting-http-strict-transport-security
+# nginx['hsts_max_age'] = 31536000
+# nginx['hsts_include_subdomains'] = false
+
+##! Defaults to stripping path information when making cross-origin requests
+# nginx['referrer_policy'] = 'strict-origin-when-cross-origin'
+
+##! **Docs: http://nginx.org/en/docs/http/ngx_http_gzip_module.html**
+# nginx['gzip_enabled'] = true
+
+##! **Override only if you use a reverse proxy**
+##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html#setting-the-nginx-listen-port
+# nginx['listen_port'] = nil
+
+##! **Override only if your reverse proxy internally communicates over HTTP**
+##! Docs: https://docs.gitlab.com/omnibus/settings/nginx.html#supporting-proxied-ssl
+# nginx['listen_https'] = nil
+
+# nginx['custom_gitlab_server_config'] = "location ^~ /foo-namespace/bar-project/raw/ {\n deny all;\n}\n"
+# nginx['custom_nginx_config'] = "include /etc/nginx/conf.d/example.conf;"
+# nginx['proxy_read_timeout'] = 3600
+# nginx['proxy_connect_timeout'] = 300
+# nginx['proxy_set_headers'] = {
+# "Host" => "$http_host_with_default",
+# "X-Real-IP" => "$remote_addr",
+# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
+# "X-Forwarded-Proto" => "https",
+# "X-Forwarded-Ssl" => "on",
+# "Upgrade" => "$http_upgrade",
+# "Connection" => "$connection_upgrade"
+# }
+# nginx['proxy_cache_path'] = 'proxy_cache keys_zone=gitlab:10m max_size=1g levels=1:2'
+# nginx['proxy_cache'] = 'gitlab'
+# nginx['http2_enabled'] = true
+# nginx['real_ip_trusted_addresses'] = []
+# nginx['real_ip_header'] = nil
+# nginx['real_ip_recursive'] = nil
+# nginx['custom_error_pages'] = {
+# '404' => {
+# 'title' => 'Example title',
+# 'header' => 'Example header',
+# 'message' => 'Example message'
+# }
+# }
+
+### Advanced settings
+# nginx['dir'] = "/var/opt/gitlab/nginx"
+# nginx['log_directory'] = "/var/log/gitlab/nginx"
+# nginx['worker_processes'] = 4
+# nginx['worker_connections'] = 10240
+# nginx['log_format'] = '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'
+# nginx['sendfile'] = 'on'
+# nginx['tcp_nopush'] = 'on'
+# nginx['tcp_nodelay'] = 'on'
+# nginx['gzip'] = "on"
+# nginx['gzip_http_version'] = "1.0"
+# nginx['gzip_comp_level'] = "2"
+# nginx['gzip_proxied'] = "any"
+# nginx['gzip_types'] = [ "text/plain", "text/css", "application/x-javascript", "text/xml", "application/xml", "application/xml+rss", "text/javascript", "application/json" ]
+# nginx['keepalive_timeout'] = 65
+# nginx['cache_max_size'] = '5000m'
+# nginx['server_names_hash_bucket_size'] = 64
+##! These paths have proxy_request_buffering disabled
+# nginx['request_buffering_off_path_regex'] = "\.git/git-receive-pack$|\.git/info/refs?service=git-receive-pack$|\.git/gitlab-lfs/objects|\.git/info/lfs/objects/batch$"
+
+### Nginx status
+# nginx['status'] = {
+# "enable" => true,
+# "listen_addresses" => ["127.0.0.1"],
+# "fqdn" => "dev.example.com",
+# "port" => 9999,
+# "vts_enable" => true,
+# "options" => {
+# "stub_status" => "on", # Turn on stats
+# "server_tokens" => "off", # Don't show the version of NGINX
+# "access_log" => "off", # Disable logs for stats
+# "allow" => "127.0.0.1", # Only allow access from localhost
+# "deny" => "all" # Deny access to anyone else
+# }
+# }
+
+################################################################################
+## GitLab Logging
+##! Docs: https://docs.gitlab.com/omnibus/settings/logs.html
+################################################################################
+
+# logging['svlogd_size'] = 200 * 1024 * 1024 # rotate after 200 MB of log data
+# logging['svlogd_num'] = 30 # keep 30 rotated log files
+# logging['svlogd_timeout'] = 24 * 60 * 60 # rotate after 24 hours
+# logging['svlogd_filter'] = "gzip" # compress logs with gzip
+# logging['svlogd_udp'] = nil # transmit log messages via UDP
+# logging['svlogd_prefix'] = nil # custom prefix for log messages
+# logging['logrotate_frequency'] = "daily" # rotate logs daily
+# logging['logrotate_size'] = nil # do not rotate by size by default
+# logging['logrotate_rotate'] = 30 # keep 30 rotated logs
+# logging['logrotate_compress'] = "compress" # see 'man logrotate'
+# logging['logrotate_method'] = "copytruncate" # see 'man logrotate'
+# logging['logrotate_postrotate'] = nil # no postrotate command by default
+# logging['logrotate_dateformat'] = nil # use date extensions for rotated files rather than numbers e.g. a value of "-%Y-%m-%d" would give rotated files like production.log-2016-03-09.gz
+
+### UDP log forwarding
+##! Docs: http://docs.gitlab.com/omnibus/settings/logs.html#udp-log-forwarding
+
+##! remote host to ship log messages to via UDP
+# logging['udp_log_shipping_host'] = nil
+
+##! override the hostname used when logs are shipped via UDP,
+## by default the system hostname will be used.
+# logging['udp_log_shipping_hostname'] = nil
+
+##! remote port to ship log messages to via UDP
+# logging['udp_log_shipping_port'] = 514
+
+################################################################################
+## Logrotate
+##! Docs: https://docs.gitlab.com/omnibus/settings/logs.html#logrotate
+##! You can disable built in logrotate feature.
+################################################################################
+# logrotate['enable'] = true
+
+################################################################################
+## Users and groups accounts
+##! Disable management of users and groups accounts.
+##! **Set only if creating accounts manually**
+##! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#disable-user-and-group-account-management
+################################################################################
+
+# manage_accounts['enable'] = false
+
+################################################################################
+## Storage directories
+##! Disable managing storage directories
+##! Docs: https://docs.gitlab.com/omnibus/settings/configuration.html#disable-storage-directories-management
+################################################################################
+
+##! **Set only if the select directories are created manually**
+# manage_storage_directories['enable'] = false
+# manage_storage_directories['manage_etc'] = false
+
+################################################################################
+## Runtime directory
+##! Docs: https://docs.gitlab.com//omnibus/settings/configuration.html#configuring-runtime-directory
+################################################################################
+
+# runtime_dir '/run'
+
+################################################################################
+## Git
+##! Advanced setting for configuring git system settings for omnibus-gitlab
+##! internal git
+################################################################################
+
+##! For multiple options under one header use array of comma separated values,
+##! eg.:
+##! { "receive" => ["fsckObjects = true"], "alias" => ["st = status", "co = checkout"] }
+
+# omnibus_gitconfig['system'] = {
+# "core" => [%(alternateRefsPrefixes = "refs/alternates/public")],
+# "pack" => ["threads = 1"],
+# "receive" => ["fsckObjects = true", "advertisePushOptions = true"],
+# "repack" => ["writeBitmaps = true"],
+# "transfer" => ["hideRefs=^refs/tmp/", "hideRefs=^refs/keep-around/", "hideRefs=^refs/remotes/"],
+# }
+
+################################################################################
+## GitLab Pages
+##! Docs: https://docs.gitlab.com/ce/pages/administration.html
+################################################################################
+
+##! Define to enable GitLab Pages
+# pages_external_url "http://pages.example.com/"
+# gitlab_pages['enable'] = false
+
+##! Configure to expose GitLab Pages on external IP address, serving the HTTP
+# gitlab_pages['external_http'] = []
+
+##! Configure to expose GitLab Pages on external IP address, serving the HTTPS
+# gitlab_pages['external_https'] = []
+
+##! Configure to use the default list of cipher suites
+# gitlab_pages['insecure_ciphers'] = false
+
+##! Configure to enable health check endpoint on GitLab Pages
+# gitlab_pages['status_uri'] = "/@status"
+
+##! Tune the maximum number of concurrent connections GitLab Pages will handle.
+##! This should be in the range 1 - 10000, defaulting to 5000.
+# gitlab_pages['max_connections'] = 5000
+
+##! Configure to use JSON structured logging in GitLab Pages
+# gitlab_pages['log_format'] = "json"
+
+##! Configure verbose logging for GitLab Pages
+# gitlab_pages['log_verbose'] = false
+
+##! Listen for requests forwarded by reverse proxy
+# gitlab_pages['listen_proxy'] = "localhost:8090"
+
+##! Configure GitLab Pages to use an HTTP Proxy
+# gitlab_pages['http_proxy'] = "http://example:8080"
+
+# gitlab_pages['redirect_http'] = true
+# gitlab_pages['use_http2'] = true
+# gitlab_pages['dir'] = "/var/opt/gitlab/gitlab-pages"
+# gitlab_pages['log_directory'] = "/var/log/gitlab/gitlab-pages"
+
+# gitlab_pages['artifacts_server'] = true
+# gitlab_pages['artifacts_server_url'] = nil # Defaults to external_url + '/api/v4'
+# gitlab_pages['artifacts_server_timeout'] = 10
+
+##! Environments that do not support bind-mounting should set this parameter to
+##! true. This is incompatible with the artifacts server
+# gitlab_pages['inplace_chroot'] = false
+
+##! Prometheus metrics for Pages docs: https://gitlab.com/gitlab-org/gitlab-pages/#enable-prometheus-metrics
+# gitlab_pages['metrics_address'] = ":9235"
+
+##! Specifies the minimum SSL/TLS version ("ssl3", "tls1.0", "tls1.1" or "tls1.2")
+# gitlab_pages['tls_min_version'] = "ssl3"
+
+##! Specifies the maximum SSL/TLS version ("ssl3", "tls1.0", "tls1.1" or "tls1.2")
+# gitlab_pages['tls_max_version'] = "tls1.2"
+
+##! Configure the pages admin API
+# gitlab_pages['admin_secret_token'] = 'custom secret'
+# gitlab_pages['admin_https_listener'] = '0.0.0.0:5678'
+# gitlab_pages['admin_https_cert'] = '/etc/gitlab/pages-admin.crt'
+# gitlab_pages['admin_https_key'] = '/etc/gitlab/pages-admin.key'
+
+##! Client side configuration for gitlab-pages admin API, in case pages runs on a different host
+# gitlab_rails['pages_admin_address'] = 'pages.gitlab.example.com:5678'
+# gitlab_rails['pages_admin_certificate'] = '/etc/gitlab/pages-admin.crt'
+
+##! Pages access control
+# gitlab_pages['access_control'] = false
+# gitlab_pages['gitlab_id'] = nil # Automatically generated if not present
+# gitlab_pages['gitlab_secret'] = nil # Generated if not present
+# gitlab_pages['auth_redirect_uri'] = nil # Defaults to projects subdomain of pages_external_url and + '/auth'
+# gitlab_pages['gitlab_server'] = nil # Defaults to external_url
+# gitlab_pages['auth_secret'] = nil # Generated if not present
+
+################################################################################
+## GitLab Pages NGINX
+################################################################################
+
+# All the settings defined in the "GitLab Nginx" section are also available in
+# this "GitLab Pages NGINX" section, using the key `pages_nginx`. However,
+# those settings should be explicitly set. That is, settings given as
+# `nginx['some_setting']` WILL NOT be automatically replicated as
+# `pages_nginx['some_setting']` and should be set separately.
+
+# Below you can find settings that are exclusive to "GitLab Pages NGINX"
+# pages_nginx['enable'] = false
+
+# gitlab_rails['pages_path'] = "/var/opt/gitlab/gitlab-rails/shared/pages"
+
+################################################################################
+## GitLab CI
+##! Docs: https://docs.gitlab.com/ce/ci/quick_start/README.html
+################################################################################
+
+# gitlab_ci['gitlab_ci_all_broken_builds'] = true
+# gitlab_ci['gitlab_ci_add_pusher'] = true
+# gitlab_ci['builds_directory'] = '/var/opt/gitlab/gitlab-ci/builds'
+
+################################################################################
+## GitLab Mattermost
+##! Docs: https://docs.gitlab.com/omnibus/gitlab-mattermost
+################################################################################
+
+# mattermost_external_url 'http://mattermost.example.com'
+
+# mattermost['enable'] = false
+# mattermost['username'] = 'mattermost'
+# mattermost['group'] = 'mattermost'
+# mattermost['uid'] = nil
+# mattermost['gid'] = nil
+# mattermost['home'] = '/var/opt/gitlab/mattermost'
+# mattermost['database_name'] = 'mattermost_production'
+# mattermost['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+# mattermost['service_address'] = "127.0.0.1"
+# mattermost['service_port'] = "8065"
+# mattermost['service_site_url'] = nil
+# mattermost['service_allowed_untrusted_internal_connections'] = ""
+# mattermost['service_enable_api_team_deletion'] = true
+# mattermost['team_site_name'] = "GitLab Mattermost"
+# mattermost['sql_driver_name'] = 'mysql'
+# mattermost['sql_data_source'] = "mmuser:mostest@tcp(dockerhost:3306)/mattermost_test?charset=utf8mb4,utf8"
+# mattermost['log_file_directory'] = '/var/log/gitlab/mattermost/'
+# mattermost['gitlab_enable'] = false
+# mattermost['gitlab_id'] = "12345656"
+# mattermost['gitlab_secret'] = "123456789"
+# mattermost['gitlab_scope'] = ""
+# mattermost['gitlab_auth_endpoint'] = "http://gitlab.example.com/oauth/authorize"
+# mattermost['gitlab_token_endpoint'] = "http://gitlab.example.com/oauth/token"
+# mattermost['gitlab_user_api_endpoint'] = "http://gitlab.example.com/api/v4/user"
+# mattermost['file_directory'] = "/var/opt/gitlab/mattermost/data"
+# mattermost['plugin_directory'] = "/var/opt/gitlab/mattermost/plugins"
+# mattermost['plugin_client_directory'] = "/var/opt/gitlab/mattermost/client-plugins"
+
+################################################################################
+## Mattermost NGINX
+################################################################################
+
+# All the settings defined in the "GitLab Nginx" section are also available in
+# this "Mattermost NGINX" section, using the key `mattermost_nginx`. However,
+# those settings should be explicitly set. That is, settings given as
+# `nginx['some_setting']` WILL NOT be automatically replicated as
+# `mattermost_nginx['some_setting']` and should be set separately.
+
+# Below you can find settings that are exclusive to "Mattermost NGINX"
+# mattermost_nginx['enable'] = false
+
+# mattermost_nginx['custom_gitlab_mattermost_server_config'] = "location ^~ /foo-namespace/bar-project/raw/ {\n deny all;\n}\n"
+# mattermost_nginx['proxy_set_headers'] = {
+# "Host" => "$http_host",
+# "X-Real-IP" => "$remote_addr",
+# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
+# "X-Frame-Options" => "SAMEORIGIN",
+# "X-Forwarded-Proto" => "https",
+# "X-Forwarded-Ssl" => "on",
+# "Upgrade" => "$http_upgrade",
+# "Connection" => "$connection_upgrade"
+# }
+
+
+################################################################################
+## Registry NGINX
+################################################################################
+
+# All the settings defined in the "GitLab Nginx" section are also available in
+# this "Registry NGINX" section, using the key `registry_nginx`. However, those
+# settings should be explicitly set. That is, settings given as
+# `nginx['some_setting']` WILL NOT be automatically replicated as
+# `registry_nginx['some_setting']` and should be set separately.
+
+# Below you can find settings that are exclusive to "Registry NGINX"
+# registry_nginx['enable'] = false
+
+# registry_nginx['proxy_set_headers'] = {
+# "Host" => "$http_host",
+# "X-Real-IP" => "$remote_addr",
+# "X-Forwarded-For" => "$proxy_add_x_forwarded_for",
+# "X-Forwarded-Proto" => "https",
+# "X-Forwarded-Ssl" => "on"
+# }
+
+################################################################################
+## Prometheus
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/
+################################################################################
+
+# prometheus['enable'] = true
+# prometheus['monitor_kubernetes'] = true
+# prometheus['username'] = 'gitlab-prometheus'
+# prometheus['group'] = 'gitlab-prometheus'
+# prometheus['uid'] = nil
+# prometheus['gid'] = nil
+# prometheus['shell'] = '/bin/sh'
+# prometheus['home'] = '/var/opt/gitlab/prometheus'
+# prometheus['log_directory'] = '/var/log/gitlab/prometheus'
+# prometheus['rules_files'] = ['/var/opt/gitlab/prometheus/rules/*.rules']
+# prometheus['scrape_interval'] = 15
+# prometheus['scrape_timeout'] = 15
+# prometheus['env_directory'] = '/opt/gitlab/etc/prometheus/env'
+# prometheus['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+#
+### Custom scrape configs
+#
+# Prometheus can scrape additional jobs via scrape_configs. The default automatically
+# includes all of the exporters supported by the omnibus config.
+#
+# See: https://prometheus.io/docs/operating/configuration/#<scrape_config>
+#
+# Example:
+#
+# prometheus['scrape_configs'] = [
+# {
+# 'job_name': 'example',
+# 'static_configs' => [
+# 'targets' => ['hostname:port'],
+# ],
+# },
+# ]
+#
+### Custom alertmanager config
+#
+# To configure external alertmanagers, create an alertmanager config.
+#
+# See: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#alertmanager_config
+#
+# prometheus['alertmanagers'] = [
+# {
+# 'static_configs' => [
+# {
+# 'targets' => [
+# 'hostname:port'
+# ]
+# }
+# ]
+# }
+# ]
+#
+### Custom Prometheus flags
+#
+# prometheus['flags'] = {
+# 'storage.local.path' => "#{node['gitlab']['prometheus']['home']}/data",
+# 'config.file' => "#{node['gitlab']['prometheus']['home']}/prometheus.yml"
+# }
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# prometheus['listen_address'] = 'localhost:9090'
+
+################################################################################
+## Prometheus Alertmanager
+################################################################################
+
+# alertmanager['enable'] = true
+# alertmanager['home'] = '/var/opt/gitlab/alertmanager'
+# alertmanager['log_directory'] = '/var/log/gitlab/alertmanager'
+# alertmanager['admin_email'] = 'admin@example.com'
+# alertmanager['flags'] = {
+# 'web.listen-address' => "#{node['gitlab']['alertmanager']['listen_address']}"
+# 'storage.path' => "#{node['gitlab']['alertmanager']['home']}/data"
+# 'config.file' => "#{node['gitlab']['alertmanager']['home']}/alertmanager.yml"
+# }
+# alertmanager['env_directory'] = '/opt/gitlab/etc/alertmanager/env'
+# alertmanager['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# alertmanager['listen_address'] = 'localhost:9093'
+
+################################################################################
+## Prometheus Node Exporter
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/node_exporter.html
+################################################################################
+
+# node_exporter['enable'] = true
+# node_exporter['home'] = '/var/opt/gitlab/node-exporter'
+# node_exporter['log_directory'] = '/var/log/gitlab/node-exporter'
+# node_exporter['flags'] = {
+# 'collector.textfile.directory' => "#{node['gitlab']['node-exporter']['home']}/textfile_collector"
+# }
+# node_exporter['env_directory'] = '/opt/gitlab/etc/node-exporter/env'
+# node_exporter['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# node_exporter['listen_address'] = 'localhost:9100'
+
+################################################################################
+## Prometheus Redis exporter
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/redis_exporter.html
+################################################################################
+
+# redis_exporter['enable'] = true
+# redis_exporter['log_directory'] = '/var/log/gitlab/redis-exporter'
+# redis_exporter['flags'] = {
+# 'redis.addr' => "unix://#{node['gitlab']['gitlab-rails']['redis_socket']}",
+# }
+# redis_exporter['env_directory'] = '/opt/gitlab/etc/redis-exporter/env'
+# redis_exporter['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# redis_exporter['listen_address'] = 'localhost:9121'
+
+################################################################################
+## Prometheus Postgres exporter
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/postgres_exporter.html
+################################################################################
+
+# postgres_exporter['enable'] = true
+# postgres_exporter['home'] = '/var/opt/gitlab/postgres-exporter'
+# postgres_exporter['log_directory'] = '/var/log/gitlab/postgres-exporter'
+# postgres_exporter['flags'] = {}
+# postgres_exporter['listen_address'] = 'localhost:9187'
+# postgres_exporter['env_directory'] = '/opt/gitlab/etc/postgres-exporter/env'
+# postgres_exporter['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+################################################################################
+## Prometheus PgBouncer exporter (EE only)
+##! Docs: https://docs.gitlab.com/ee/administration/monitoring/prometheus/pgbouncer_exporter.html
+################################################################################
+
+# pgbouncer_exporter['enable'] = false
+# pgbouncer_exporter['log_directory'] = "/var/log/gitlab/pgbouncer-exporter"
+# pgbouncer_exporter['listen_address'] = 'localhost:9188'
+# pgbouncer_exporter['env_directory'] = '/opt/gitlab/etc/pgbouncer-exporter/env'
+# pgbouncer_exporter['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+
+################################################################################
+## Prometheus Gitlab monitor
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/gitlab_monitor_exporter.html
+################################################################################
+
+
+# gitlab_monitor['enable'] = true
+# gitlab_monitor['log_directory'] = "/var/log/gitlab/gitlab-monitor"
+# gitlab_monitor['home'] = "/var/opt/gitlab/gitlab-monitor"
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# gitlab_monitor['listen_address'] = 'localhost'
+# gitlab_monitor['listen_port'] = '9168'
+
+##! Manage gitlab-monitor sidekiq probes. false by default when Sentinels are
+##! found.
+# gitlab_monitor['probe_sidekiq'] = true
+
+# To completely disable prometheus, and all of it's exporters, set to false
+# prometheus_monitoring['enable'] = true
+
+################################################################################
+## Grafana Dashboards
+##! Docs: https://docs.gitlab.com/ce/administration/monitoring/prometheus/#prometheus-as-a-grafana-data-source
+################################################################################
+
+# grafana['enable'] = true
+# grafana['log_directory'] = '/var/log/gitlab/grafana'
+# grafana['home'] = '/var/opt/gitlab/grafana'
+# grafana['admin_password'] = 'admin'
+# grafana['allow_user_sign_up'] = false
+# grafana['gitlab_application_id'] = 'GITLAB_APPLICATION_ID'
+# grafana['gitlab_secret'] = 'GITLAB_SECRET'
+# grafana['env_directory'] = '/opt/gitlab/etc/grafana/env'
+# grafana['allowed_groups'] = []
+# grafana['gitlab_auth_sign_up'] = true
+# grafana['env'] = {
+# 'SSL_CERT_DIR' => "#{node['package']['install-dir']}/embedded/ssl/certs/"
+# }
+
+### Dashboards
+#
+# See: http://docs.grafana.org/administration/provisioning/#dashboards
+#
+# NOTE: Setting this will override the default.
+#
+# grafana['dashboards'] = [
+# {
+# 'name' => 'GitLab Omnibus',
+# 'orgId' => 1,
+# 'folder' => 'GitLab Omnibus',
+# 'type' => 'file',
+# 'disableDeletion' => true,
+# 'updateIntervalSeconds' => 600,
+# 'options' => {
+# 'path' => '/opt/gitlab/embedded/service/grafana-dashboards',
+# }
+# }
+# ]
+
+### Datasources
+#
+# See: http://docs.grafana.org/administration/provisioning/#example-datasource-config-file
+#
+# NOTE: Setting this will override the default.
+#
+# grafana['datasources'] = [
+# {
+# 'name' => 'GitLab Omnibus',
+# 'type' => 'prometheus',
+# 'access' => 'proxy',
+# 'url' => 'http://localhost:9090'
+# }
+# ]
+
+##! Advanced settings. Should be changed only if absolutely needed.
+# grafana['http_addr'] = 'localhost'
+# grafana['http_port'] = 3000
+
+################################################################################
+## Gitaly
+##! Docs:
+################################################################################
+
+# The gitaly['enable'] option exists for the purpose of cluster
+# deployments, see https://docs.gitlab.com/ee/administration/gitaly/index.html .
+# gitaly['enable'] = true
+# gitaly['dir'] = "/var/opt/gitlab/gitaly"
+# gitaly['log_directory'] = "/var/log/gitlab/gitaly"
+# gitaly['bin_path'] = "/opt/gitlab/embedded/bin/gitaly"
+# gitaly['env_directory'] = "/opt/gitlab/etc/gitaly/env"
+# gitaly['env'] = {
+# 'PATH' => "/opt/gitlab/bin:/opt/gitlab/embedded/bin:/bin:/usr/bin",
+# 'HOME' => '/var/opt/gitlab'
+# }
+# gitaly['socket_path'] = "/var/opt/gitlab/gitaly/gitaly.socket"
+# gitaly['listen_addr'] = "localhost:8075"
+# gitaly['tls_listen_addr] = "localhost:9075"
+# gitaly['certificate_path'] = "/var/opt/gitlab/gitaly/certificate.pem'
+# gitaly['key_path'] = "/var/opt/gitlab/gitaly/key.pem"
+# gitaly['prometheus_listen_addr'] = "localhost:9236"
+# gitaly['logging_level'] = "warn"
+# gitaly['logging_format'] = "json"
+# gitaly['logging_sentry_dsn'] = "https://<key>:<secret>@sentry.io/<project>"
+# gitaly['logging_ruby_sentry_dsn'] = "https://<key>:<secret>@sentry.io/<project>"
+# gitaly['logging_sentry_environment'] = "production"
+# gitaly['prometheus_grpc_latency_buckets'] = "[0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]"
+# gitaly['auth_token'] = '<secret>'
+# gitaly['auth_transitioning'] = false # When true, auth is logged to Prometheus but NOT enforced
+# gitaly['graceful_restart_timeout'] = '1m' # Grace time for a gitaly process to finish ongoing requests
+# gitaly['git_catfile_cache_size'] = 100 # Number of 'git cat-file' processes kept around for re-use
+# gitaly['ruby_max_rss'] = 300000000 # RSS threshold in bytes for triggering a gitaly-ruby restart
+# gitaly['ruby_graceful_restart_timeout'] = '10m' # Grace time for a gitaly-ruby process to finish ongoing requests
+# gitaly['ruby_restart_delay'] = '5m' # Period of sustained high RSS that needs to be observed before restarting gitaly-ruby
+# gitaly['ruby_num_workers'] = 3 # Number of gitaly-ruby worker processes. Minimum 2, default 2.
+# gitaly['storage'] = [
+# {
+# 'name' => 'default',
+# 'path' => '/mnt/nfs-01/git-data/repositories'
+# },
+# {
+# 'name' => 'secondary',
+# 'path' => '/mnt/nfs-02/git-data/repositories'
+# }
+# ]
+# gitaly['concurrency'] = [
+# {
+# 'rpc' => "/gitaly.SmartHTTPService/PostReceivePack",
+# 'max_per_repo' => 20
+# }, {
+# 'rpc' => "/gitaly.SSHService/SSHUploadPack",
+# 'max_per_repo' => 5
+# }
+# ]
+
+################################################################################
+# Storage check
+################################################################################
+# storage_check['enable'] = false
+# storage_check['target'] = 'unix:///var/opt/gitlab/gitlab-rails/sockets/gitlab.socket'
+# storage_check['log_directory'] = '/var/log/gitlab/storage-check'
+
+################################################################################
+# Let's Encrypt integration
+################################################################################
+# letsencrypt['enable'] = nil
+# letsencrypt['contact_emails'] = [] # This should be an array of email addresses to add as contacts
+# letsencrypt['group'] = 'root'
+# letsencrypt['key_size'] = 2048
+# letsencrypt['owner'] = 'root'
+# letsencrypt['wwwroot'] = '/var/opt/gitlab/nginx/www'
+# See http://docs.gitlab.com/omnibus/settings/ssl.html#automatic-renewal for more on these sesttings
+# letsencrypt['auto_renew'] = true
+# letsencrypt['auto_renew_hour'] = 0
+# letsencrypt['auto_renew_minute'] = nil # Should be a number or cron expression, if specified.
+# letsencrypt['auto_renew_day_of_month'] = "*/4"
+
+##! Turn off automatic init system detection. To skip init detection in
+##! non-docker containers. Recommended not to change.
+# package['detect_init'] = true
+
+################################################################################
+################################################################################
+## Configuration Settings for GitLab EE only ##
+################################################################################
+################################################################################
+
+
+################################################################################
+## Auxiliary cron jobs applicable to GitLab EE only
+################################################################################
+#
+# gitlab_rails['geo_file_download_dispatch_worker_cron'] = "*/10 * * * *"
+# gitlab_rails['geo_repository_sync_worker_cron'] = "*/5 * * * *"
+# gitlab_rails['geo_prune_event_log_worker_cron'] = "*/5 * * * *"
+# gitlab_rails['geo_repository_verification_primary_batch_worker_cron'] = "*/5 * * * *"
+# gitlab_rails['geo_repository_verification_secondary_scheduler_worker_cron'] = "*/5 * * * *"
+# gitlab_rails['geo_migrated_local_files_clean_up_worker_cron'] = "15 */6 * * *"
+# gitlab_rails['ldap_sync_worker_cron'] = "30 1 * * *"
+# gitlab_rails['ldap_group_sync_worker_cron'] = "0 * * * *"
+# gitlab_rails['historical_data_worker_cron'] = "0 12 * * *"
+# gitlab_rails['pseudonymizer_worker_cron'] = "0 23 * * *"
+
+################################################################################
+## Kerberos (EE Only)
+##! Docs: https://docs.gitlab.com/ee/integration/kerberos.html#http-git-access
+################################################################################
+
+# gitlab_rails['kerberos_enabled'] = true
+# gitlab_rails['kerberos_keytab'] = /etc/http.keytab
+# gitlab_rails['kerberos_service_principal_name'] = HTTP/gitlab.example.com@EXAMPLE.COM
+# gitlab_rails['kerberos_use_dedicated_port'] = true
+# gitlab_rails['kerberos_port'] = 8443
+# gitlab_rails['kerberos_https'] = true
+
+################################################################################
+## Package repository (EE Only)
+##! Docs: https://docs.gitlab.com/ee/administration/maven_packages.md
+################################################################################
+
+# gitlab_rails['packages_enabled'] = true
+# gitlab_rails['packages_storage_path'] = "/var/opt/gitlab/gitlab-rails/shared/packages"
+# gitlab_rails['packages_object_store_enabled'] = false
+# gitlab_rails['packages_object_store_direct_upload'] = false
+# gitlab_rails['packages_object_store_background_upload'] = true
+# gitlab_rails['packages_object_store_proxy_download'] = false
+# gitlab_rails['packages_object_store_remote_directory'] = "packages"
+# gitlab_rails['packages_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'host' => 's3.amazonaws.com',
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+################################################################################
+## Dependency proxy (EE Only)
+##! Docs: https://docs.gitlab.com/ee/administration/dependency_proxy.md
+################################################################################
+
+# gitlab_rails['dependency_proxy_enabled'] = true
+# gitlab_rails['dependency_proxy_storage_path'] = "/var/opt/gitlab/gitlab-rails/shared/dependency_proxy"
+# gitlab_rails['dependency_proxy_object_store_enabled'] = false
+# gitlab_rails['dependency_proxy_object_store_direct_upload'] = false
+# gitlab_rails['dependency_proxy_object_store_background_upload'] = true
+# gitlab_rails['dependency_proxy_object_store_proxy_download'] = false
+# gitlab_rails['dependency_proxy_object_store_remote_directory'] = "dependency_proxy"
+# gitlab_rails['dependency_proxy_object_store_connection'] = {
+# 'provider' => 'AWS',
+# 'region' => 'eu-west-1',
+# 'aws_access_key_id' => 'AWS_ACCESS_KEY_ID',
+# 'aws_secret_access_key' => 'AWS_SECRET_ACCESS_KEY',
+# # # The below options configure an S3 compatible host instead of AWS
+# # 'host' => 's3.amazonaws.com',
+# # 'aws_signature_version' => 4, # For creation of signed URLs. Set to 2 if provider does not support v4.
+# # 'endpoint' => 'https://s3.amazonaws.com', # default: nil - Useful for S3 compliant services such as DigitalOcean Spaces
+# # 'path_style' => false # Use 'host/bucket_name/object' instead of 'bucket_name.host/object'
+# }
+
+################################################################################
+## GitLab Sentinel (EE Only)
+##! Docs: http://docs.gitlab.com/ce/administration/high_availability/redis.html#high-availability-with-sentinel
+################################################################################
+
+##! **Make sure you configured all redis['master_*'] keys above before
+##! continuing.**
+
+##! To enable Sentinel and disable all other services in this machine,
+##! uncomment the line below (if you've enabled Redis role, it will keep it).
+##! Docs: https://docs.gitlab.com/ce/administration/high_availability/redis.html
+# redis_sentinel_role['enable'] = true
+
+# sentinel['enable'] = true
+
+##! Bind to all interfaces, uncomment to specify an IP and bind to a single one
+# sentinel['bind'] = '0.0.0.0'
+
+##! Uncomment to change default port
+# sentinel['port'] = 26379
+
+#### Support to run sentinels in a Docker or NAT environment
+#####! Docs: https://redis.io/topics/sentinel#sentinel-docker-nat-and-possible-issues
+# In an standard case, Sentinel will run in the same network service as Redis, so the same IP will be announce for Redis and Sentinel
+# Only define these values if it is needed to announce for Sentinel a differen IP service than Redis
+# sentinel['announce_ip'] = nil # If not defined, its value will be taken from redis['announce_ip'] or nil if not present
+# sentinel['announce_port'] = nil # If not defined, its value will be taken from sentinel['port'] or nil if redis['announce_ip'] not present
+
+##! Quorum must reflect the amount of voting sentinels it take to start a
+##! failover.
+##! **Value must NOT be greater then the amount of sentinels.**
+##! The quorum can be used to tune Sentinel in two ways:
+##! 1. If a the quorum is set to a value smaller than the majority of Sentinels
+##! we deploy, we are basically making Sentinel more sensible to master
+##! failures, triggering a failover as soon as even just a minority of
+##! Sentinels is no longer able to talk with the master.
+##! 2. If a quorum is set to a value greater than the majority of Sentinels, we
+##! are making Sentinel able to failover only when there are a very large
+##! number (larger than majority) of well connected Sentinels which agree
+##! about the master being down.
+# sentinel['quorum'] = 1
+
+### Consider unresponsive server down after x amount of ms.
+# sentinel['down_after_milliseconds'] = 10000
+
+### Specifies the failover timeout in milliseconds.
+##! It is used in many ways:
+##!
+##! - The time needed to re-start a failover after a previous failover was
+##! already tried against the same master by a given Sentinel, is two
+##! times the failover timeout.
+##!
+##! - The time needed for a slave replicating to a wrong master according
+##! to a Sentinel current configuration, to be forced to replicate
+##! with the right master, is exactly the failover timeout (counting since
+##! the moment a Sentinel detected the misconfiguration).
+##!
+##! - The time needed to cancel a failover that is already in progress but
+##! did not produced any configuration change (SLAVEOF NO ONE yet not
+##! acknowledged by the promoted slave).
+##!
+##! - The maximum time a failover in progress waits for all the slaves to be
+##! reconfigured as slaves of the new master. However even after this time
+##! the slaves will be reconfigured by the Sentinels anyway, but not with
+##! the exact parallel-syncs progression as specified.
+# sentinel['failover_timeout'] = 60000
+
+################################################################################
+## GitLab Sidekiq Cluster (EE only)
+################################################################################
+
+##! GitLab Enterprise Edition allows one to start an extra set of Sidekiq processes
+##! besides the default one. These processes can be used to consume a dedicated set
+##! of queues. This can be used to ensure certain queues always have dedicated
+##! workers, no matter the amount of jobs that need to be processed.
+
+# sidekiq_cluster['enable'] = false
+# sidekiq_cluster['ha'] = false
+# sidekiq_cluster['log_directory'] = "/var/log/gitlab/sidekiq-cluster"
+# sidekiq_cluster['interval'] = 5 # The number of seconds to wait between worker checks
+# sidekiq_cluster['max_concurrency'] = 50 # The maximum number of threads each Sidekiq process should run
+
+##! Each entry in the queue_groups array denotes a group of queues that have to be processed by a
+##! Sidekiq process. Multiple queues can be processed by the same process by
+##! separating them with a comma within the group entry
+
+# sidekiq_cluster['queue_groups'] = [
+# "process_commit,post_receive",
+# "gitlab_shell"
+# ]
+#
+
+##! If negate is enabled then sidekiq-cluster will process all the queues that
+##! don't match those in queue_groups.
+
+# sidekiq_cluster['negate'] = false
+
+################################################################################
+## Additional Database Settings (EE only)
+##! Docs: https://docs.gitlab.com/ee/administration/database_load_balancing.html
+################################################################################
+# gitlab_rails['db_load_balancing'] = { 'hosts' => ['secondary1.example.com'] }
+
+################################################################################
+## GitLab Geo
+##! Docs: https://docs.gitlab.com/ee/gitlab-geo
+################################################################################
+# geo_primary_role['enable'] = false
+# geo_secondary_role['enable'] = false
+
+# This is an optional identifier which Geo nodes can use to identify themselves.
+# For example, if external_url is the same for two secondaries, you must specify
+# a unique Geo node name for those secondaries.
+#
+# If it is blank, it defaults to external_url.
+# gitlab_rails['geo_node_name'] = nil
+
+################################################################################
+## GitLab Geo Secondary (EE only)
+################################################################################
+# geo_secondary['auto_migrate'] = true
+# geo_secondary['db_adapter'] = "postgresql"
+# geo_secondary['db_encoding'] = "unicode"
+# geo_secondary['db_collation'] = nil
+# geo_secondary['db_database'] = "gitlabhq_geo_production"
+# geo_secondary['db_pool'] = 10
+# geo_secondary['db_username'] = "gitlab_geo"
+# geo_secondary['db_password'] = nil
+# geo_secondary['db_host'] = "/var/opt/gitlab/geo-postgresql"
+# geo_secondary['db_port'] = 5431
+# geo_secondary['db_socket'] = nil
+# geo_secondary['db_sslmode'] = nil
+# geo_secondary['db_sslcompression'] = 0
+# geo_secondary['db_sslrootcert'] = nil
+# geo_secondary['db_sslca'] = nil
+# geo_secondary['db_fdw'] = true
+
+################################################################################
+## GitLab Geo Secondary Tracking Database (EE only)
+################################################################################
+
+# geo_postgresql['enable'] = false
+# geo_postgresql['ha'] = false
+# geo_postgresql['dir'] = '/var/opt/gitlab/geo-postgresql'
+# geo_postgresql['data_dir'] = '/var/opt/gitlab/geo-postgresql/data'
+# geo_postgresql['pgbouncer_user'] = nil
+# geo_postgresql['pgbouncer_user_password'] = nil
+##! `SQL_USER_PASSWORD_HASH` can be generated using the command `gitlab-ctl pg-password-md5 gitlab`
+# geo_postgresql['sql_user_password'] = 'SQL_USER_PASSWORD_HASH'
+
+################################################################################
+# Pgbouncer (EE only)
+# See [GitLab PgBouncer documentation](http://docs.gitlab.com/omnibus/settings/database.html#enabling-pgbouncer-ee-only)
+# See the [PgBouncer page](https://pgbouncer.github.io/config.html) for details
+################################################################################
+# pgbouncer['enable'] = false
+# pgbouncer['log_directory'] = '/var/log/gitlab/pgbouncer'
+# pgbouncer['data_directory'] = '/var/opt/gitlab/pgbouncer'
+# pgbouncer['env_directory'] = '/opt/gitlab/etc/pgbouncer/env'
+# pgbouncer['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+# pgbouncer['listen_addr'] = '0.0.0.0'
+# pgbouncer['listen_port'] = '6432'
+# pgbouncer['pool_mode'] = 'transaction'
+# pgbouncer['server_reset_query'] = 'DISCARD ALL'
+# pgbouncer['application_name_add_host'] = '1'
+# pgbouncer['max_client_conn'] = '2048'
+# pgbouncer['default_pool_size'] = '100'
+# pgbouncer['min_pool_size'] = '0'
+# pgbouncer['reserve_pool_size'] = '5'
+# pgbouncer['reserve_pool_timeout'] = '5.0'
+# pgbouncer['server_round_robin'] = '0'
+# pgbouncer['log_connections'] = '0'
+# pgbouncer['server_idle_timeout'] = '30'
+# pgbouncer['dns_max_ttl'] = '15.0'
+# pgbouncer['dns_zone_check_period'] = '0'
+# pgbouncer['dns_nxdomain_ttl'] = '15.0'
+# pgbouncer['admin_users'] = %w(gitlab-psql postgres pgbouncer)
+# pgbouncer['stats_users'] = %w(gitlab-psql postgres pgbouncer)
+# pgbouncer['ignore_startup_parameters'] = 'extra_float_digits'
+# pgbouncer['databases'] = {
+# DATABASE_NAME: {
+# host: HOSTNAME,
+# port: PORT
+# user: USERNAME,
+# password: PASSWORD
+###! generate this with `echo -n '$password + $username' | md5sum`
+# }
+# ...
+# }
+# pgbouncer['logfile'] = nil
+# pgbouncer['unix_socket_dir'] = nil
+# pgbouncer['unix_socket_mode'] = '0777'
+# pgbouncer['unix_socket_group'] = nil
+# pgbouncer['auth_type'] = 'md5'
+# pgbouncer['auth_hba_file'] = nil
+# pgbouncer['auth_query'] = 'SELECT username, password FROM public.pg_shadow_lookup($1)'
+# pgbouncer['users'] = {
+# {
+# name: USERNAME,
+# password: MD5_PASSWORD_HASH
+# }
+# }
+# postgresql['pgbouncer_user'] = nil
+# postgresql['pgbouncer_user_password'] = nil
+# pgbouncer['server_reset_query_always'] = 0
+# pgbouncer['server_check_query'] = 'select 1'
+# pgbouncer['server_check_delay'] = 30
+# pgbouncer['max_db_connections'] = nil
+# pgbouncer['max_user_connections'] = nil
+# pgbouncer['syslog'] = 0
+# pgbouncer['syslog_facility'] = 'daemon'
+# pgbouncer['syslog_ident'] = 'pgbouncer'
+# pgbouncer['log_disconnections'] = 1
+# pgbouncer['log_pooler_errors'] = 1
+# pgbouncer['stats_period'] = 60
+# pgbouncer['verbose'] = 0
+# pgbouncer['server_lifetime'] = 3600
+# pgbouncer['server_connect_timeout'] = 15
+# pgbouncer['server_login_retry'] = 15
+# pgbouncer['query_timeout'] = 0
+# pgbouncer['query_wait_timeout'] = 120
+# pgbouncer['client_idle_timeout'] = 0
+# pgbouncer['client_login_timeout'] = 60
+# pgbouncer['autodb_idle_timeout'] = 3600
+# pgbouncer['suspend_timeout'] = 10
+# pgbouncer['idle_transaction_timeout'] = 0
+# pgbouncer['pkt_buf'] = 4096
+# pgbouncer['listen_backlog'] = 128
+# pgbouncer['sbuf_loopcnt'] = 5
+# pgbouncer['max_packet_size'] = 2147483647
+# pgbouncer['tcp_defer_accept'] = 0
+# pgbouncer['tcp_socket_buffer'] = 0
+# pgbouncer['tcp_keepalive'] = 1
+# pgbouncer['tcp_keepcnt'] = 0
+# pgbouncer['tcp_keepidle'] = 0
+# pgbouncer['tcp_keepintvl'] = 0
+# pgbouncer['disable_pqexec'] = 0
+
+## Pgbouncer client TLS options
+# pgbouncer['client_tls_sslmode'] = 'disable'
+# pgbouncer['client_tls_ca_file'] = nil
+# pgbouncer['client_tls_key_file'] = nil
+# pgbouncer['client_tls_cert_file'] = nil
+# pgbouncer['client_tls_protocols'] = 'all'
+# pgbouncer['client_tls_dheparams'] = 'auto'
+# pgbouncer['client_tls_ecdhcurve'] = 'auto'
+#
+## Pgbouncer server TLS options
+# pgbouncer['server_tls_sslmode'] = 'disable'
+# pgbouncer['server_tls_ca_file'] = nil
+# pgbouncer['server_tls_key_file'] = nil
+# pgbouncer['server_tls_cert_file'] = nil
+# pgbouncer['server_tls_protocols'] = 'all'
+# pgbouncer['server_tls_ciphers'] = 'fast'
+
+################################################################################
+# Repmgr (EE only)
+################################################################################
+# repmgr['enable'] = false
+# repmgr['cluster'] = 'gitlab_cluster'
+# repmgr['database'] = 'gitlab_repmgr'
+# repmgr['host'] = nil
+# repmgr['node_number'] = nil
+# repmgr['port'] = 5432
+# repmgr['trust_auth_cidr_addresses'] = []
+# repmgr['user'] = 'gitlab_repmgr'
+# repmgr['sslmode'] = 'prefer'
+# repmgr['sslcompression'] = 0
+# repmgr['failover'] = 'automatic'
+# repmgr['log_directory'] = '/var/log/gitlab/repmgrd'
+# repmgr['node_name'] = nil
+# repmgr['pg_bindir'] = '/opt/gitlab/embedded/bin'
+# repmgr['service_start_command'] = '/opt/gitlab/bin/gitlab-ctl start postgresql'
+# repmgr['service_stop_command'] = '/opt/gitlab/bin/gitlab-ctl stop postgresql'
+# repmgr['service_reload_command'] = '/opt/gitlab/bin/gitlab-ctl hup postgresql'
+# repmgr['service_restart_command'] = '/opt/gitlab/bin/gitlab-ctl restart postgresql'
+# repmgr['service_promote_command'] = nil
+# repmgr['promote_command'] = '/opt/gitlab/embedded/bin/repmgr standby promote -f /var/opt/gitlab/postgresql/repmgr.conf'
+# repmgr['follow_command'] = '/opt/gitlab/embedded/bin/repmgr standby follow -f /var/opt/gitlab/postgresql/repmgr.conf'
+
+# repmgr['upstream_node'] = nil
+# repmgr['use_replication_slots'] = false
+# repmgr['loglevel'] = 'INFO'
+# repmgr['logfacility'] = 'STDERR'
+# repmgr['logfile'] = nil
+
+# repmgr['event_notification_command'] = nil
+# repmgr['event_notifications'] = nil
+
+# repmgr['rsync_options'] = nil
+# repmgr['ssh_options'] = nil
+# repmgr['priority'] = nil
+#
+# HA setting to specify if a node should attempt to be master on initialization
+# repmgr['master_on_initialization'] = true
+
+# repmgr['retry_promote_interval_secs'] = 300
+# repmgr['witness_repl_nodes_sync_interval_secs'] = 15
+# repmgr['reconnect_attempts'] = 6
+# repmgr['reconnect_interval'] = 10
+# repmgr['monitor_interval_secs'] = 2
+# repmgr['master_response_timeout'] = 60
+# repmgr['daemon'] = true
+# repmgrd['enable'] = true
+
+################################################################################
+# Consul (EEP only)
+################################################################################
+# consul['enable'] = false
+# consul['dir'] = '/var/opt/gitlab/consul'
+# consul['user'] = 'gitlab-consul'
+# consul['group'] = 'gitlab-consul'
+# consul['config_file'] = '/var/opt/gitlab/consul/config.json'
+# consul['config_dir'] = '/var/opt/gitlab/consul/config.d'
+# consul['data_dir'] = '/var/opt/gitlab/consul/data'
+# consul['log_directory'] = '/var/log/gitlab/consul'
+# consul['env_directory'] = '/opt/gitlab/etc/consul/env'
+# consul['env'] = {
+# 'SSL_CERT_DIR' => "/opt/gitlab/embedded/ssl/certs/"
+# }
+# consul['node_name'] = nil
+# consul['script_directory'] = '/var/opt/gitlab/consul/scripts'
+# consul['configuration'] = {
+# 'client_addr' => nil,
+# 'datacenter' => 'gitlab_consul',
+# 'enable_script_checks' => true,
+# 'server' => false
+# }
+# consul['services'] = []
+# consul['service_config'] = {
+# 'postgresql' => {
+# 'service' => {
+# 'name' => "postgresql",
+# 'address' => '',
+# 'port' => 5432,
+# 'checks' => [
+# {
+# 'script' => "/var/opt/gitlab/consul/scripts/check_postgresql",
+# 'interval' => "10s"
+# }
+# ]
+# }
+# }
+# }
+# consul['watchers'] = {
+# 'postgresql' => {
+# enable: false,
+# handler: 'failover_pgbouncer'
+# }
+# }
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key
new file mode 100644
index 000000000..b33b47f72
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIHEudwyE25KXFtFeevjaZPqmVj5Tjyp4eV5pzXiwRnZqoAoGCCqGSM49
+AwEHoUQDQgAE3Qi3uP34quluhe6YYsy//exjIN6fx0NGK5pz2XfTL1I89yUcg5M6
+f5KECMXs8lhUSjGOdl6p9dKn29927EJCOw==
+-----END EC PRIVATE KEY-----
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key.pub b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key.pub
new file mode 100644
index 000000000..b77b24a7f
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ecdsa_key.pub
@@ -0,0 +1 @@
+ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBN0It7j9+KrpboXumGLMv/3sYyDen8dDRiuac9l30y9SPPclHIOTOn+ShAjF7PJYVEoxjnZeqfXSp9vfduxCQjs= root@6edcef222837
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key
new file mode 100644
index 000000000..0ea284ca9
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key
@@ -0,0 +1,7 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
+QyNTUxOQAAACCKv1bVKI4aRm8Ot6HI7uby67b55opUcmovm/jikTP4SQAAAJgu421aLuNt
+WgAAAAtzc2gtZWQyNTUxOQAAACCKv1bVKI4aRm8Ot6HI7uby67b55opUcmovm/jikTP4SQ
+AAAECJlKh0d/3gauqwIbsAT7eFCGM7ZrNYH+Zv5686gAmLJ4q/VtUojhpGbw63ocju5vLr
+tvnmilRyai+b+OKRM/hJAAAAEXJvb3RANmVkY2VmMjIyODM3AQIDBA==
+-----END OPENSSH PRIVATE KEY-----
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key.pub b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key.pub
new file mode 100644
index 000000000..dc6b62809
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_ed25519_key.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIq/VtUojhpGbw63ocju5vLrtvnmilRyai+b+OKRM/hJ root@6edcef222837
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key
new file mode 100644
index 000000000..0b345735b
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpQIBAAKCAQEAs7Z34F6NzL7uw/ORH002IHUDqqFG2nuVr7hCG5Sp2zj541F2
+92yVcqy53BNqqDPWUg+Tdk3R6ntQjXljUu28Ru1nQrpJoqPkIqFfKmKwHSoXJa1o
+g7c4ZkyjNMuk6ku2BFk+inGKOZUSxue0jK9aT0+ccrQNbqgGQSQTvWWLnFtvl4qN
+khALMQR3svHsRAW8bbliWemCJr/9BO3MQQ6iWZ6io1rDqoo1KkXM1M6CvM6inVv2
+8hZ9tF3cN59c9f03C37BfmPE4531GOktxXBvHZVw8bseDwxBO1ozcSecUIf27Bde
+I6gqSTOPv77rprSb36H/kFjCwbJTrwexYgrcoQIDAQABAoIBAA2Xxpds73LGGk8t
+9BMXBvoLf7x/OFm8MUU6PZ3Sb8qKE7SS69mpF+C1mdVAjresPBC25uNy3WbL7vrU
+bKPQIYaH3GCasIkhtla8N/N/xWxfS6Lo69fSmux57XpH0PB7y4emrGlSTy8tzF7J
+FcnyVXVcQywV3FI7WUXCEdAohxfLXkARpm0oEiJjVSGGccAsxuCy1Lh1S8Q3LGy0
+r25aOuaD4eNLY0UeraYaPblvfhAeSk+S/SjJNtWdIisCv7RpCeedFCfoUBUj0LCQ
+cdE8rvoTiHenH932FAcTPyGT/zxFVEJQwfWW5WEK77NWitX5/f/FIUnWZf7ly+Am
+NPhZg/UCgYEA2w62J5QlwxR6R57CNWZlXfLzBd06Rd4enChPk62uqCh6dNvKRHnA
+BtGBRBTGgsaj1RFaoJVsbcro/H3b3nlKJZApdrZQKRMyVAk54i+FWJRPLU62O/3t
+lFyNZjtc86amDYwSteLlmQAzqLPyjlL4ycsVzDmQtoXMnG/TGm3hxRcCgYEA0gUk
+a9Zu8MHujqWI8O7znd/BEmoXfk9mHAbBBacRnr5LxOGUL6HkooF4DuL7rswPGXiF
+GGaPiWNJZpzY47OPDll0mbHLND6H8F34Z1XAG+tsc+oaPKVx0qp4Z4goTJ6yu7A4
+fmc+DN9sNqrMTc6anV0nFAtYdBM2ZUpbNpvS7wcCgYEAk5rWItUwnMKvopLXSiQ1
+KZkLKGhpW6rP9Wk0Nc5SYfzkhtmS8ZEYU3/YGoflOzmeK3QGHS6SYWjYlUo5XS9d
+RvJc/iDa4tKMlxOgbUiYEZfdwinHoaT48X9rx/c4KvWf7oD0GptJGk+If6TBTCWc
+flzZ00L2wAZoWQEAvk5MUwECgYEAwM7jvvSf6PvBjMe/zqEwmnF/CO7JHra54WT5
+87yLWpcNbHRD3O7dvarqk5AiyzifbBzO47XUdKboDgJUw8ZmwR+zAh7NlOsLVcqP
+cB6zPW6GpGv5JlAlDOhfnXzMsnrHT7PaSYFy39KFwDJRWeUg4PNSGv7Hd9jjiV4Y
+Gyw3HCUCgYEAjdMfMH02qhhzzNtQ+XUjFIRAuZA2UGlgNgvNtuyYub1yI6wYpVF9
+Dw6qdf/PmjwSMY1GXPKzTwfP0yHgVUEgNgIlrHe0r7v0ihH4lGfB43HU/XgH6T7b
+Cy5W6UWel612sPm0fxnzSuuZHivJrxvjZd6NqnBQ8MzGSxeA3d68r34=
+-----END RSA PRIVATE KEY-----
diff --git a/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key.pub b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key.pub
new file mode 100644
index 000000000..7d45a8a5b
--- /dev/null
+++ b/_support/praefect-cluster/app1/etc-gitlab/ssh_host_rsa_key.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCztnfgXo3Mvu7D85EfTTYgdQOqoUbae5WvuEIblKnbOPnjUXb3bJVyrLncE2qoM9ZSD5N2TdHqe1CNeWNS7bxG7WdCukmio+QioV8qYrAdKhclrWiDtzhmTKM0y6TqS7YEWT6KcYo5lRLG57SMr1pPT5xytA1uqAZBJBO9ZYucW2+Xio2SEAsxBHey8exEBbxtuWJZ6YImv/0E7cxBDqJZnqKjWsOqijUqRczUzoK8zqKdW/byFn20Xdw3n1z1/TcLfsF+Y8TjnfUY6S3FcG8dlXDxux4PDEE7WjNxJ5xQh/bsF14jqCpJM4+/vuumtJvfof+QWMLBslOvB7FiCtyh root@6edcef222837
diff --git a/_support/praefect-cluster/docker-compose.yml b/_support/praefect-cluster/docker-compose.yml
new file mode 100644
index 000000000..1ae87ddcb
--- /dev/null
+++ b/_support/praefect-cluster/docker-compose.yml
@@ -0,0 +1,27 @@
+version: "3"
+services:
+ gitaly1:
+ image: gitaly:latest
+ command: ["/app/_build/bin/gitaly", "/etc/gitaly/config.toml"]
+ ports:
+ - "9999:9999"
+ volumes:
+ - ./gitaly1/data:/var/opt/gitlab/git-data
+ - ./gitaly1/config.toml:/etc/gitaly/config.toml
+ gitaly2:
+ image: gitaly:latest
+ command: ["/app/_build/bin/gitaly", "/etc/gitaly/config.toml"]
+ ports:
+ - "9998:9998"
+ volumes:
+ - ./gitaly2/data:/var/opt/gitlab/git-data
+ - ./gitaly2/config.toml:/etc/gitaly/config.toml
+ gitaly3:
+ image: gitaly:latest
+ command: ["/app/_build/bin/gitaly", "/etc/gitaly/config.toml"]
+ ports:
+ - "9997:9997"
+ volumes:
+ - ./gitaly3/data:/var/opt/gitlab/git-data
+ - ./gitaly3/config.toml:/etc/gitaly/config.toml
+
diff --git a/_support/praefect-cluster/gitaly1/config.toml b/_support/praefect-cluster/gitaly1/config.toml
new file mode 100644
index 000000000..3c1ff277f
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/config.toml
@@ -0,0 +1,27 @@
+listen_addr = ":9999"
+prometheus_listen_addr = ":9236"
+bin_dir = "/app/_build/bin"
+
+# # Git executable settings
+[git]
+bin_path = "/usr/local/bin/git"
+
+[[storage]]
+name = "default"
+path = "/var/opt/gitlab/git-data"
+
+# # You can optionally configure Gitaly to record histogram latencies on GRPC method calls
+[prometheus]
+grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
+
+[gitaly-ruby]
+# The directory where gitaly-ruby is installed
+dir = "/app/ruby"
+
+[gitlab-shell]
+# The directory where gitlab-shell is installed
+dir = "/app/gitlab-shell"
+
+[[concurrency]]
+rpc = "/gitaly.RepositoryService/GarbageCollect"
+max_per_repo = 1
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab-secrets.json b/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab-secrets.json
new file mode 100644
index 000000000..3158ef8af
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/gitlab-secrets.json
@@ -0,0 +1,42 @@
+{
+ "gitlab_workhorse": {
+ "secret_token": "1Zfe6ccCBLfrzXIactwNYmpSkMf9Fft7YS5R2xCgNGM="
+ },
+ "gitlab_shell": {
+ "secret_token": "f4kef1xedt0ken"
+ },
+ "gitlab_rails": {
+ "secret_key_base": "a74839c868cdb1ebded2a998f91083288d3e6267dbec349e6529e17398f4d3f7563a0f8a4b87ff4d53f4b218580497fc2aacb5ff2ae9d596b03f288288f4f12a",
+ "db_key_base": "6da85d40f8070b3d4cf3d813f043058b1866caf65590dc8c1a9aa56afa2959d6862f71c1ab0056c49f3348bb6ce5c64d367d6fb77e489d1a8ae8266ca448a2da",
+ "otp_key_base": "53c0abb6d72aac5b9534c2ba2a2ff05a7013ff427132a0d40f91d6ff82b8d0b4f7edb64703b263f3c6e37dafa4a0aa873c7b109953c927d1f7d18bc671c30390",
+ "openid_connect_signing_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIJKAIBAAKCAgEApWgHCJMSU7yaFDN6pvFmUzKuqsZDvTaeoHxjdTAiAvbbF/i2\nj950BCoJsRBrpFbtsZqGUNhj9fiDiVtCZ9nfbMFaVI4xXc9tpUJHdvRTqwPk+Lnl\ndT5kvssiM7Bag78kxH4al4N6h0EJCUh3k1OLKibFx8nMDgg+xVJ6CZPhK+oH4b8f\n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oRt72n5X0Lce5M5T4VMIdH+0OD1y1OpWwrZqBWuC1Ub\ny2qoGz1WvyecZ31PfmHw2xXg3a8lSBh7+lPjyMcVyJEtf4WKhNYBWEQU7TARl/Y/\n/wOxQdYZv9kR47i369XHZv6kGQV2QiCYQCbT4Ipgjm0nK//deTSR7QwJ2oLWAMOn\nTWp1AoIBAGyGdEzpv5Fj+xOfM9em/sEdHnhyIK3jH8QZL/ynEha/apbfJYSgZOnN\nc4afcKh7+kjEtb9OLmcle+AjakTOvlSjEnBR9rUNSYDJkOmm5XR1nvLcHZWzJgK+\n579eTM289vhA5eIf+NRdOoic5vDy0YUnq5dDACmT8hmCyG8yeEnkshP8bNhVuqCU\n6R5icasM/Dd/BS9IzTBEcGJmmbFr/nwGjGAKzZp1mTwmNbt+v6Bf/29rX8mpq9Ld\njCK8eSlxP2fbdKTtETq2R94R+QbsqpGiyVcCxfKYQqu6YM/Wl7FXOWQf9i5hcos3\nEs9Gm9HDlYknBOfyJs37FbQn4z00TTUCggEBAIdoahu7ZRDtQNm9sYG5c9EnyRSa\nX7i3fvNhcty9JtFI1dxcG6cIwSSgsbA1DNFtjyMorQf28+duNG3bO1jCIMq39OuJ\nof+8573UTf2jPJhOdkuBxgJxgLh3eGeeY4DAG4+bqB/001paId9gcxmALlh94cYg\nP5RxlqQNtpg+lS6HD0P+UQ6jI0WWAsTid1vFEg+0CJHa0ovxbTSGSCbwseJ3zQTs\nIyTuAbBgvoNqfiAUT6B7BV2QquPQMNPxFhLW0bfuHvgyvAkH5tcBcVToj872+KxC\nzEQKhM70B++PtJAzrbHUNDthKuy+1/51tzD4zQwdKGCLpYeCmgHTQaZKaMs=\n-----END RSA PRIVATE KEY-----\n"
+ },
+ "gitlab_pages": {
+ "admin_secret_token": "fb3751af231c9eb5ab23fbc7bcf13c87535c87676c954e59c8fc3457e9477aef431795984b7bf761075795e410d33cc54ef596848ae46be9049cb58a2e797ae2",
+ "gitlab_secret": null,
+ "gitlab_id": null,
+ "auth_secret": "a159b3af242035336e16daf70637f7f990a481e1aa4f54d75c6f1626fbb2356690c9711df2135b710f4d8ee4ff8d7169297a38e2e75a64a80da995e1ca8e032d"
+ },
+ "grafana": {
+ "secret_key": "3c2a87c3d77e284816e0a7c17df2dc9d",
+ "gitlab_secret": null,
+ "gitlab_application_id": null
+ },
+ "registry": {
+ "http_secret": "e2fc6ac0cf2cb922cdcd1491666d382a31268f0c8ff58a877d68c294c3146f3a7f792be610087049bad3bf36cb13a1bfbb4ebfdf48c5b32e104750723edc3ad4",
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBTCCAu2gAwIBAgIBADANBgkqhkiG9w0BAQsFADBGMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjESMBAGA1UECwwJQ29udGFpbmVyMREwDwYDVQQDDAhS\nZWdpc3RyeTAeFw0xOTA2MjcyMzI2MTlaFw0yOTA2MjQyMzI2MTlaMEYxDDAKBgNV\nBAYTA1VTQTEPMA0GA1UECgwGR2l0TGFiMRIwEAYDVQQLDAlDb250YWluZXIxETAP\nBgNVBAMMCFJlZ2lzdHJ5MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA\n8UF5xCGAWP2Tu3UbbRChhGWbJyEuVYl2fVCq3CcvldbwQsXjI5SMq7deOToX7Q3Z\nlvKjZIzCtdJ7YBrMe/O43HgcratG0oJezbjEssvPRL9paaNeNDdzExPGFQ5xcfZ2\nqy9h7NLd7Q12gig8IBA54+AYQ7uYbylzdVvIHdR1TM+uMOzV1DW3GrIdSulrPUXx\nicv+yH3gjO7Ax/PyRb6bFLBmtLlJMYoZbuQfvdnKmSncHjgdB5rBb59criJbtcAb\nunx5WRITzqn1ui6wCDjrSBpjarJeyry4SXqeAwHCv7pLJ303SN4/cgn6wtJOtoss\nTKU3IOvXjzghRtBErDTmsU8PfuASRuyg7EIm2esDDQwf82xu2f+WtZUOas+x7II4\n9USyJlb6XxhIXT55ZWIZ7fD/fvj7WPMCuzj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encrypt": {
+ "auto_enabled": null
+ },
+ "mattermost": {
+ "email_invite_salt": "11d9a374926a1a8f09c3df4914d835ca",
+ "file_public_link_salt": "04f5b1bf4fcea0783739f8406c4d9965",
+ "sql_at_rest_encrypt_key": "4dddda1f28301447dd572d9fb41d3b17"
+ },
+ "postgresql": {
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBzCCAu+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBHMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzARBgNVBAMMClBv\nc3RncmVTUUwwHhcNMTkwNjI3MjMyNjIwWhcNMjkwNjI0MjMyNjIwWjBHMQwwCgYD\nVQQGEwNVU0ExDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzAR\nBgNVBAMMClBvc3RncmVTUUwwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC\nAQDMI1dgSKRzNS4Lv0xutFtPwWQB1XkThJW5vixvdDckMyXfbde5+UiBvxYryPYq\nZl34g+6k/W48+f07V8sCVwCzVlqZu1T2fv/YVq8ibtfiBDUJC3vrjy9nGQeE9lG+\nRpVrM4XRafnOGUNWS2jAEH36SuBc4o1DJFUn67z9B/tJQivkvoCIXfrfDkwIc3Nz\n3aQGhPOYvE9FSB0uEpx0KpLmhnDNiwlsVcFde7LKvHNseBBz3OT8yzAxwajPKAyX\nUD/N+2ab9+V87ZLr8rlD04YSvJHdm50ti64aLcEnEESKpvfMlx2hUXi+9EW3lJ2g\nPCTWCIFOzErp+nmE2ebzMvqm1ahtoCwX8l4KcjQ9v2t/uOA//fdN0bry+oNe9uGV\nb9/y+9Hdy+SqR6Sd1i4jUQxGRzX3JO7Fp2MDzJR+xhIgLEVNY6DuAm1Tc4MNvEyX\nQEkPTnVLTy7k2lcJ9hgdZ40oT0kc/aEhhmaYcFfHV1if3gUZiKXyFGZM20aQ2vZN\nhaVuy0l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Q+JKHITTGcLTmrPLLrKj+dqFDwW+vT8AUTtkhWL2znlBc2viSlEOWTI6i\nSW+Yx9VfRQ96HGYfMjhRfGoZvxVO6+tT2NKkV1ojNo3Scd3pnVVdHk0ycicEHeGM\nY8xM7JUvlwQW+KEDHYyjGkGoWOjB2M3Km0HvKGiVUEptPRDUnMwXKVIk98U5N0iJ\nykAIGb1QNjhIrmav+/oqoAWi1/n9/MeRAyr6I1zPH3uE8vlHZyPY+mGQHAsejiMN\nmQRBKQKCAQBHczIOTvakNE/H5VAr3Xu/XgBVWaKcGBYtCjQD5DAd1wSeXAz5S1OF\n6Tg+H9xFoMK9uXuGnLDoDrF/3EytqRSnc1qvVhDpckv8czzQzKOyui6hMYwWb9t5\n1gOFb151b87h+eBxgWof+NJys+O656Y6c/APBW7isCcH5ihCBpdadXwLw2x+SLf/\nM2zmT1+6BOJMUs6HLqqq46vR98upCbhcWY48tpBi/9335zIVbcTEHpYIPH9p1j/G\n7fPHL6a03mMnntWJXgCiy86naIqCphi5B71z4Mt5ctMskmhtY1ywBQlz3UeUZoP6\nfYTdhCAJAUGqQdpWv1bWmS1dgpSeqkrpAoIBADOgLAV9ItAArFHbsCJ00KdR8bnH\nUDW0nVXaudxLWzxDhBFGWgG8Wj6c3dQHzOPF27f4IHvSyPjRyIDfUuFsnrYu3B7E\nXw/GWtcoLzGmCwzjnyrTc9gNJa9Pw9viUDXp0ABQPd60B8lZ4l+GGVMrNAx3nzDL\n63s0xddbLgviulBVnDoH+PKFCGocwIiLoVr2S++LMXHdRK4TtkvpzzABNW+JakXv\nus60O4ckacW3gkG2SYrXG+cd0PLtgrQmQbZNLWrPWkLWdPG5jANuItqb0hXp2ywX\nPd+8sz67v3G54PI8xHX4m031cL4f+qjAS0qHiBGMGiFx7fniuQtCLy8jh1g=\n-----END RSA PRIVATE KEY-----\n"
+ }
+}
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'
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key
new file mode 100644
index 000000000..92347489f
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEINXNSjkMvCn0GEZtE23aVrm5cYvpubG6gIboRE/k7IknoAoGCCqGSM49
+AwEHoUQDQgAEmYAFNjxuYbJ3A2dGm7LPoJpqKk1xVMKpKYDwHRDprxLBrHCzRXl5
++zwDS6a/hBT1O9M5TiOuqQDZc1Etv0Nzpg==
+-----END EC PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key.pub b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key.pub
new file mode 100644
index 000000000..9e1f2a8a4
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ecdsa_key.pub
@@ -0,0 +1 @@
+ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJmABTY8bmGydwNnRpuyz6CaaipNcVTCqSmA8B0Q6a8Swaxws0V5efs8A0umv4QU9TvTOU4jrqkA2XNRLb9Dc6Y= root@38309f7d7a36
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key
new file mode 100644
index 000000000..94bf6e952
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key
@@ -0,0 +1,7 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
+QyNTUxOQAAACC9iLLgTcwxw3ZfrtkKo2rQ2ErqVsCpyqIIYIJwXyUkEAAAAJggRXvYIEV7
+2AAAAAtzc2gtZWQyNTUxOQAAACC9iLLgTcwxw3ZfrtkKo2rQ2ErqVsCpyqIIYIJwXyUkEA
+AAAEBolv1Exb6QOSesWb7G0tp6fu0d8PAy3BgFiM3IhDKOwb2IsuBNzDHDdl+u2QqjatDY
+SupWwKnKoghggnBfJSQQAAAAEXJvb3RAMzgzMDlmN2Q3YTM2AQIDBA==
+-----END OPENSSH PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key.pub b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key.pub
new file mode 100644
index 000000000..6b6a2d4fd
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_ed25519_key.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIL2IsuBNzDHDdl+u2QqjatDYSupWwKnKoghggnBfJSQQ root@38309f7d7a36
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key
new file mode 100644
index 000000000..e0bce45ff
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpgIBAAKCAQEAqBcJNYIu9vDyYAfgs76RdfiLbWpMDDDkrnNB58ruCFr8NwJs
+YipyOtWK1A4ScdDbwqRx7wiKD89b31DunsWr+jhFdd97Rmv5/7wYGGyyRgF8yHpK
+G2Kh0FMdcBhFp8StqDxmOgVzVGOZJFfNDB+X6ptwRexJvstR11Ric9WFLGGTwOXa
+sm6TCUMAkB1Bm5X2nvJMzCC/5PedB0rU2cihNp+goaNW8pKxwpqTl/iSnsJynZ1S
+K5yp8++SkaGfWx3Dnog0Tue59iM7xHvVP/yueMqYqf6JNwo302oa9NroCLtDf5EL
+0X4c39l7Y8Rid24veCTaozbkkU0Q9fNLoNcuTQIDAQABAoIBAQCkaiPv2u7lTLlH
+hW0dZAIUSpDW7WqFYi3NFaAZgj1intylUhGB09L4CXhKA5m3Cnxq3z8yeD/TRxiu
+TxOY6fFWR0RqD7cdIvDeXLWU7n1STJIp5rQmJUvx4dqhkpxPhen27V1w03QDz4g0
+LE281gpayMABJSbdITNkVH4Yn3or9Y9d5bGIxJlXH9sY89P6TMd7KDIjKtsCLRb4
+DYGO72hCIzr/f8soBQtO4pWohb3+F5g01Daog+SFxDujj9KSLnyVGaUBeF8rKTj2
+ymFXeQfL+UrEBTQ6ss0h22PemUa5oYrM3kMojV6H38MOTTJrxr2lkTJleZTsBufz
+X8+UOwMBAoGBANzPvBpvUiwoKMq2bOSP8hlHQ7ZSq0lkm21B7jQtNeXEh0amGMow
+FrYCRvMuku7JXdvhw0jz+rTh4txSZKY3werFqhYBXSb8QUYBBoLl/MJD888je4o0
++0DBdgr3mnHamthK9clzySFytzx434WSrKZihcoszEMd2j4tKLQ6eq7VAoGBAMLg
+d0qSUVTYgOohUiD9lHViOeRqEmYwEv0tNQmbF/2q+xEIwa5/ZHz/Xl/98SnGzWKk
+CGD1tqvnG8D7fpHwE+/V3yHeX1iHaT5hpt9lG7BAdrlvMJGunSqt/FiZbOmAS8lc
+44aUdsA8zZqFO/NRNxEaKZ+QNvYG8AMUq0U+xG2ZAoGBALgkzZvGBmMowov7AmjB
+2oZWNhPQcWPtcOj2uK3unioVcTLrxXSoEeiLkZuv1X0plQqQBgnK3eMHFefjFmi/
+ywn8+dEMJiEi8VRt+n4jSly/yo2N67LgaEAilkyjHLuiMMv8B2mPE8a/IixeKRn9
+rdm8BBMMtPOr65s6kd1rf3BZAoGBAKwnLVrULUMdy6yJaQs52HdmIaxVxBE/8NZ1
+pD/rIeN2szqWGLt1UKlX0uBL7kqwk+nK7JfzGL99dzghM+vqQUKDFg3Oaz5CyUdR
+buA0aqRmHjusLSTVM4RrlNwUFXGlY83r4BeYedtTG3Kgtpg5K8NQ8GpENTlcYZTn
+InIWg+IpAoGBAJGbTlftRpunih1nKqGig2m5UkPakCAATaOPUvinZ4a6fCnooRwm
+y7Vf4HOaUjmQodG14KH0jJ2ejGOPB9PvHmn83uOIEZcKYy0aL9wusyIbPhfHNBPn
+pHqCmT87y3hdSvhFVhpHYL1uCDvI59hrv29IOmlVVX5mhqHlEwqzT7wd
+-----END RSA PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key.pub b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key.pub
new file mode 100644
index 000000000..2082eba69
--- /dev/null
+++ b/_support/praefect-cluster/gitaly1/etc-gitlab/ssh_host_rsa_key.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCoFwk1gi728PJgB+CzvpF1+IttakwMMOSuc0Hnyu4IWvw3AmxiKnI61YrUDhJx0NvCpHHvCIoPz1vfUO6exav6OEV133tGa/n/vBgYbLJGAXzIekobYqHQUx1wGEWnxK2oPGY6BXNUY5kkV80MH5fqm3BF7Em+y1HXVGJz1YUsYZPA5dqybpMJQwCQHUGblfae8kzMIL/k950HStTZyKE2n6Cho1bykrHCmpOX+JKewnKdnVIrnKnz75KRoZ9bHcOeiDRO57n2IzvEe9U//K54ypip/ok3CjfTahr02ugIu0N/kQvRfhzf2XtjxGJ3bi94JNqjNuSRTRD180ug1y5N root@38309f7d7a36
diff --git a/_support/praefect-cluster/gitaly2/config.toml b/_support/praefect-cluster/gitaly2/config.toml
new file mode 100644
index 000000000..7c0afc813
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/config.toml
@@ -0,0 +1,27 @@
+listen_addr = ":9998"
+prometheus_listen_addr = ":9236"
+bin_dir = "/app/_build/bin"
+
+# # Git executable settings
+[git]
+bin_path = "/usr/local/bin/git"
+
+[[storage]]
+name = "default"
+path = "/var/opt/gitlab/git-data"
+
+# # You can optionally configure Gitaly to record histogram latencies on GRPC method calls
+[prometheus]
+grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
+
+[gitaly-ruby]
+# The directory where gitaly-ruby is installed
+dir = "/app/ruby"
+
+[gitlab-shell]
+# The directory where gitlab-shell is installed
+dir = "/app/gitlab-shell"
+
+[[concurrency]]
+rpc = "/gitaly.RepositoryService/GarbageCollect"
+max_per_repo = 1
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab-secrets.json b/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab-secrets.json
new file mode 100644
index 000000000..0bbc7cb58
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab-secrets.json
@@ -0,0 +1,42 @@
+{
+ "gitlab_workhorse": {
+ "secret_token": "7KBAxvSnxRliBq4msNArU7Y8lL+8tcyz5Vh7bRQqEZQ="
+ },
+ "gitlab_shell": {
+ "secret_token": "f4kef1xedt0ken"
+ },
+ "gitlab_rails": {
+ "secret_key_base": "eb310dfac16485de87aafb501f01591bab10b38a5d6d215185fc46426677e5779b77ab34128fc668dfc222a1f5ee3cbaec75aa66d715c7a74f8e3c8a9fb40307",
+ "db_key_base": "5e7f93d0f72be36074749ff20c6496f1cea540e8246be9e4acb31291048e45bd53a915664cf3c75219642ef091f47dc9fda55ff2b7f21c97879c6c01afdf5c0d",
+ "otp_key_base": "f54d9015b296fe06ddbaec81a523af703b63d0a84fca42b0406f9990c7c12aa2f77d163208ddcb907b6e2dc2291fccdbd25372fc97754fa7a98f190f53ebf705",
+ "openid_connect_signing_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIJJgIBAAKCAgEAmFk6/piFHi7weHJVE2/EUkh41zSEmLK+G9IHAd/UVmCTCeGL\neEwA84hsKw59d9hWaRfK3hGI9Q1B3iuPwSHRntC57wAqAmlWjsJorU5entqV27pM\nRhoIxYI3rUFp8V0p2rkL9L4KfDIPQ5Zc/LpgH36jfEe6PL78sA9vnW+g+AE4r8Y4\nzUuGBbvmuA6ioBkLpx9pK0i9Da1fozhUdLmgawpriaNik5FG7rbGd/djI8pH0B1T\n6uYfr58FPDKO9Ffe3e80kM0nnw5tkFRsnPBap1MiYLLUKxz/NXL9a8c6JMokAum2\nTQYHkQcSUSdbjZNMR5aaDBPm3/21moJRc+4DLp6Xyy4Tc3xG06ZWbA4MFHG6B36u\nd8aHWji9BBm0/albLVSPXaKOOgqp8Fxx6eBjONbTisjRqanIBpRSfIWeGA/wTw/S\nWfy/j1a3VNYXV5tQh2ArDdeiuKh95x7goPkM/B7OWn3UQQVf13y/Z6eT3QkbKBVR\n15w19jF42hfboqJSCP9lIKsoqsI8lND9eGX4smXoGrf9lEbva8m2ZwvVF7CoH2j6\nOxmesBPCQL951HzD1bPJPErU4+HlXnxzssZv0KwacwxODGKzPQ54bLPbdz2XcOGE\nsAJl3TdXBJrPAsq2QYq454OOnq2RDVVjcXrZGtYLko+7xP1lgOhAO6hQiS0CAwEA\nAQKCAgA63vhSG8QNBtx73sqLaTw3A7RWjP/UNfYKsB1vFvxpqI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4xOp4h2Svw8foMruETCopKH5H3TWWH+Ej0\n0fzYW1bU42C/aSnNZW2ve8klTD1/PeVcIMIpfKVxGsTW2siOXQqqU0bSmxACYW5A\n3Fg3iGO8HoqbvDYrph5ynseP85lwpst/WwIUXXJ9my42kXLr6j6cHa5r46FZuqYd\nW/qx4RJuVecmI7WHZVo4/3PKLDf3+A0tu3F/U6n8skHcgwOOa3j4RIZLddF71zyz\nxbz2homTGU2gAQhr3ylmqa9+67Ru3kA9QHOfR7U96RjhU2AHssobQNem\n-----END RSA PRIVATE KEY-----\n"
+ },
+ "gitlab_pages": {
+ "admin_secret_token": "cd0e71e03de643e5e591c79df9f99ee7fafd1c28e5d379c06240356f290ae25669328f98ccb3813c6ed10adb7ddd50429caf683177ad6df6ec7d2ff6400bf54d",
+ "gitlab_secret": null,
+ "gitlab_id": null,
+ "auth_secret": "615b3cca819d5f205c5c0f1e0cbc732a51bd0aaad545da8503d476716a0d449f4d9098010d88de50ddda4c71536cdb6dc2e1ff3f281d56ac13628c25af518beb"
+ },
+ "grafana": {
+ "secret_key": "5ff64a14c11514423ff8986d9c0d6314",
+ "gitlab_secret": null,
+ "gitlab_application_id": null
+ },
+ "registry": {
+ "http_secret": "599d7bfb350f6183343bb9273346fe819bbdc3b9c5e7038ffe87704c1f9e66a90b7e5d2bf5153a18a8973e89204c63b2a989ea61be56d0770213256ff47f37a2",
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBTCCAu2gAwIBAgIBADANBgkqhkiG9w0BAQsFADBGMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjESMBAGA1UECwwJQ29udGFpbmVyMREwDwYDVQQDDAhS\nZWdpc3RyeTAeFw0xOTA2MjcyMzI2MThaFw0yOTA2MjQyMzI2MThaMEYxDDAKBgNV\nBAYTA1VTQTEPMA0GA1UECgwGR2l0TGFiMRIwEAYDVQQLDAlDb250YWluZXIxETAP\nBgNVBAMMCFJlZ2lzdHJ5MIICIjANBgkqhk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XdLx6/4d4IXPHv3rSfPoUMeqSSZFWEuMzqKJoBKLHpM\nrlGgAhEju5htNsYHpsXq05QSdlIqkTkCggEASZN/EB/RBVZGEjQ4y7btZcGegVMW\n3F4k654Jv7qRL946e2UkOiX3gm3pqfXt531/a48qR5Sdaen7P4uIrjoqkWm1eCjG\n993WmYgPm/SIBPvBwJr4aaf3CYM7dakGWcrtRDfFj61xVTZx9F0bJRECWDEztXjf\nxvFIoSu4Bt6mIieJ37zfaP2zterypNvr9eo/mUlbQAsE9KEynCwutQgEMOMGUJ21\nEkWBp3me4XVCA74VwpuAALQBf8hTNr+90h5+dUCE0GJEw5WyvPz/FyOxll3PBKUg\nyqnsKMYGvU+RPEChQ8mnTWdP7HyQRn4+SJL+HY6JtVejX67Jv0HvYq+UIw==\n-----END RSA PRIVATE KEY-----\n"
+ },
+ "letsencrypt": {
+ "auto_enabled": null
+ },
+ "mattermost": {
+ "email_invite_salt": "6ded75bce7aee15937d3e593647dfa03",
+ "file_public_link_salt": "e9c7d761fc2decc54f8c41a458f1a7f2",
+ "sql_at_rest_encrypt_key": "3f2ad8663783c8e2d987b3e5bff886ae"
+ },
+ "postgresql": {
+ "internal_certificate": "-----BEGIN CERTIFICATE-----\nMIIFBzCCAu+gAwIBAgIBADANBgkqhkiG9w0BAQsFADBHMQwwCgYDVQQGEwNVU0Ex\nDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzARBgNVBAMMClBv\nc3RncmVTUUwwHhcNMTkwNjI3MjMyNjIwWhcNMjkwNjI0MjMyNjIwWjBHMQwwCgYD\nVQQGEwNVU0ExDzANBgNVBAoMBkdpdExhYjERMA8GA1UECwwIRGF0YWJhc2UxEzAR\nBgNVBAMMClBvc3RncmVTUUwwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC\nAQC97wqB8YOyrmv4V6nS9PKxHzDChWZW8CxWFN1vjyByLFCXsSjF4Thqll2jQIb/\nEf1aGvFlvG9o+m7BX+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4koFBcBcbziumVDYyQZlUnb6vp\nGmL1XlOpP3aYVgpLQyyXnlOjK06ZSccelyDuzNsTTVzRxaMy05gJApCFIPKfn1B9\nAOvVjTUfbUqToz5rYJwxPKwrko69kKvtiztwcb6suu0ryd4AxRI32NKbN2jmzyhS\nhkxWxqoF/eRlxCHlV7/9mJwa7IJuQD3AbOxfjea855iX/w8FKmZUipMVNIjUZlJA\nsQ/672bTPGXe9PUJlqjXEgzCZFkxvETu4NzQsqymRjlIZwUAAayfkYn0YWbdVlZq\nqY1nSNcLvX9vQ1enKv6y4Zim0dqY3xoW7cgubYPx+1NI9cK2Gzavo7ekqis=\n-----END RSA PRIVATE KEY-----\n"
+ }
+}
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab.rb b/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab.rb
new file mode 100644
index 000000000..11b527ee1
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/gitlab.rb
@@ -0,0 +1,28 @@
+gitaly['enable'] = true
+gitaly['listen_addr'] = ':6667'
+
+# This instance will be serving the 'gitaly2' repository storage
+git_data_dirs({
+ 'gitaly2' => { 'path' => '/var/opt/gitlab/git-data-2' }
+})
+
+# 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'
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key
new file mode 100644
index 000000000..cec1e7625
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIFUf2EBLmJ4k0OXsuS209nmLvuBNI4xZSPshAIyBEoRtoAoGCCqGSM49
+AwEHoUQDQgAEl7IxAkZspWCKo6HDq0SwyC9bmYnzbEpLaSmaBbHHjTYHuqPpB2H3
+ReJNj2NOXM90EvxgF5a58+Y0FvHUuJBJyA==
+-----END EC PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key.pub b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key.pub
new file mode 100644
index 000000000..214a6bd96
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ecdsa_key.pub
@@ -0,0 +1 @@
+ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBJeyMQJGbKVgiqOhw6tEsMgvW5mJ82xKS2kpmgWxx402B7qj6Qdh90XiTY9jTlzPdBL8YBeWufPmNBbx1LiQScg= root@65ae8447edc4
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key
new file mode 100644
index 000000000..bf2da2e51
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key
@@ -0,0 +1,7 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
+QyNTUxOQAAACC4PqmfJ6qTuLizCMpAVwom3rfgKVw4p7atuoutoLDwPgAAAJhlRmjqZUZo
+6gAAAAtzc2gtZWQyNTUxOQAAACC4PqmfJ6qTuLizCMpAVwom3rfgKVw4p7atuoutoLDwPg
+AAAECX3zAfSyf4asIJ/ONEFzPYM3DZQnP+BKR8Ev9DbixhY7g+qZ8nqpO4uLMIykBXCibe
+t+ApXDintq26i62gsPA+AAAAEXJvb3RANjVhZTg0NDdlZGM0AQIDBA==
+-----END OPENSSH PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key.pub b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key.pub
new file mode 100644
index 000000000..002ac3292
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_ed25519_key.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILg+qZ8nqpO4uLMIykBXCibet+ApXDintq26i62gsPA+ root@65ae8447edc4
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key
new file mode 100644
index 000000000..d7bb16f24
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEpAIBAAKCAQEAuUy/9iWGURMjQm00CZrp3R425R/arG2kyj0bwszb92ys4VTt
+kr9+94ZBU5Nc7lXwHtsxUphSHOqhP37eKU1ZUcv5LETFCltUm+MbRdlARZUgmm1Y
+FXdjf6ujHLEyFttarTEm92247oTdDx+xbjtBk3i1PcUh3DctYKuN4wgr8rBZUZKh
+Mb2XkOm1IJYtvizo3bU+BwtbREjYr7L+sWYcL+xXAJEici067piR8+RUR84rQR9N
+IkIizQY7EAE9U/5CR9Ch3uc+xfs4l0XC252Sqb6OIxqY1lT56TUQjcF70fcqwWvZ
+HY9yZ+id9wggv5uUgvyZxOahqLZ9L+OiTl+wpQIDAQABAoIBAQCk4svKL5f22u28
+NUph5ayGq1Uzy4Wde69wmrHyRLLT16t6k0UYGTjU721//hhqqKQUAP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7P0IUmf4yUlkufvjgGrJZs/37Mvqves9sFY6fdluXO6MoDz+JaZ2q
+QBAUgdzYsUii6imhMGWyAouXkWaoocvJZ+F2+3aFYU2rcEU2SfxfZw==
+-----END RSA PRIVATE KEY-----
diff --git a/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key.pub b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key.pub
new file mode 100644
index 000000000..4e51d603f
--- /dev/null
+++ b/_support/praefect-cluster/gitaly2/etc-gitlab/ssh_host_rsa_key.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC5TL/2JYZREyNCbTQJmundHjblH9qsbaTKPRvCzNv3bKzhVO2Sv373hkFTk1zuVfAe2zFSmFIc6qE/ft4pTVlRy/ksRMUKW1Sb4xtF2UBFlSCabVgVd2N/q6McsTIW21qtMSb3bbjuhN0PH7FuO0GTeLU9xSHcNy1gq43jCCvysFlRkqExvZeQ6bUgli2+LOjdtT4HC1tESNivsv6xZhwv7FcAkSJyLTrumJHz5FRHzitBH00iQiLNBjsQAT1T/kJH0KHe5z7F+ziXRcLbnZKpvo4jGpjWVPnpNRCNwXvR9yrBa9kdj3Jn6J33CCC/m5SC/JnE5qGotn0v46JOX7Cl root@65ae8447edc4
diff --git a/_support/praefect-cluster/gitaly3/config.toml b/_support/praefect-cluster/gitaly3/config.toml
new file mode 100644
index 000000000..5073d79c8
--- /dev/null
+++ b/_support/praefect-cluster/gitaly3/config.toml
@@ -0,0 +1,27 @@
+listen_addr = ":9997"
+prometheus_listen_addr = ":9236"
+bin_dir = "/app/_build/bin"
+
+# # Git executable settings
+[git]
+bin_path = "/usr/local/bin/git"
+
+[[storage]]
+name = "default"
+path = "/var/opt/gitlab/git-data"
+
+# # You can optionally configure Gitaly to record histogram latencies on GRPC method calls
+[prometheus]
+grpc_latency_buckets = [0.001, 0.005, 0.025, 0.1, 0.5, 1.0, 10.0, 30.0, 60.0, 300.0, 1500.0]
+
+[gitaly-ruby]
+# The directory where gitaly-ruby is installed
+dir = "/app/ruby"
+
+[gitlab-shell]
+# The directory where gitlab-shell is installed
+dir = "/app/gitlab-shell"
+
+[[concurrency]]
+rpc = "/gitaly.RepositoryService/GarbageCollect"
+max_per_repo = 1
diff --git a/_support/praefect-cluster/gitaly3/etc-gitlab/gitlab.rb b/_support/praefect-cluster/gitaly3/etc-gitlab/gitlab.rb
new file mode 100644
index 000000000..ace6d4274
--- /dev/null
+++ b/_support/praefect-cluster/gitaly3/etc-gitlab/gitlab.rb
@@ -0,0 +1,28 @@
+gitaly['enable'] = true
+gitaly['listen_addr'] = ':6668'
+
+# This instance will be serving the 'gitaly2' repository storage
+git_data_dirs({
+ 'gitaly3' => { 'path' => '/var/opt/gitlab/git-data-3' }
+})
+
+# 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'
diff --git a/_support/test-cluster/app1/etc-gitlab/gitlab.rb b/_support/test-cluster/app1/etc-gitlab/gitlab.rb
index 0bce8c475..1df863a6a 100644
--- a/_support/test-cluster/app1/etc-gitlab/gitlab.rb
+++ b/_support/test-cluster/app1/etc-gitlab/gitlab.rb
@@ -12,7 +12,7 @@ redis['bind'] = '0.0.0.0'
git_data_dirs({
'default' => { 'path' => '/mnt/data1', 'gitaly_address' => 'tcp://gitaly1:6666' },
- 'gitaly2' => { 'path' => '/mnt/data2', 'gitaly_address' => 'tcp://gitaly2:6666' }
+ 'gitaly2' => { 'path' => '/mnt/data2', 'gitaly_address' => 'tcp://gitaly2:6667' }
})
# We have to use the same token in all hosts for internal API authentication
diff --git a/_support/test-cluster/gitaly2/etc-gitlab/gitlab.rb b/_support/test-cluster/gitaly2/etc-gitlab/gitlab.rb
index be06496b6..11b527ee1 100644
--- a/_support/test-cluster/gitaly2/etc-gitlab/gitlab.rb
+++ b/_support/test-cluster/gitaly2/etc-gitlab/gitlab.rb
@@ -1,5 +1,5 @@
gitaly['enable'] = true
-gitaly['listen_addr'] = ':6666'
+gitaly['listen_addr'] = ':6667'
# This instance will be serving the 'gitaly2' repository storage
git_data_dirs({
diff --git a/config.praefect.toml b/config.praefect.toml
new file mode 100644
index 000000000..c57da6fd3
--- /dev/null
+++ b/config.praefect.toml
@@ -0,0 +1,39 @@
+# Example Praefect configuration file
+
+# # TCP address to listen on
+listen_addr = "127.0.0.1:2305"
+
+# # Praefect can listen on a socket when placed on the same machine as all clients
+# socket_path = "/home/git/gitlab/tmp/sockets/private/praefect.socket"
+# # Praefect will only replicate whitelisted repositories
+# whitelist = ["@hashed/3f/db/3fdba35f04dc8c462986c992bcf875546257113072a909c162f7e470e581e278.git"]
+# # Optional: export metrics via Prometheus
+# prometheus_listen_addr = "127.0.01:10101"
+
+# # You can optionally configure Praefect to output JSON-formatted log messages to stdout
+# [logging]
+# format = "json"
+# # Optional: Set log level to only log entries with that severity or above
+# # One of, in order: debug, info, warn, errror, fatal, panic
+# # Defaults to "info"
+# level = "warn"
+
+# # One or more Gitaly servers need to be configured to be managed. The names
+# of each server are used to link multiple nodes, or `gitaly_server`s together
+# as shard. listen_addr should be unique for all nodes.
+# Requires the protocol to be defined, e.g. tcp://host.tld:1234
+
+[primary_server]
+ name = "default"
+ listen_addr = "tcp://0.0.0.0:9999"
+
+[[secondary_server]]
+ name = "backup1"
+ listen_addr = "tcp://0.0.0.0:9998"
+
+[[secondary_server]]
+ name = "backup2"
+ listen_addr = "tcp://0.0.0.0:9997"
+
+[praefect_admin]
+ port = 9093 \ No newline at end of file
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 000000000..ecc85d80f
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,23 @@
+version: "3"
+services:
+ gitaly_primary:
+ image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
+ ports:
+ - "8075:8075"
+ volumes:
+ - ./dev/gitaly-config:/etc/gital
+
+ gitaly_secondar_1:
+ image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
+ ports:
+ - "${GITALY_HOST_PORT}:8075"
+ volumes:
+ - ./dev/gitaly-config:/etc/gital
+
+ gitaly_secondary_2:
+ image: registry.gitlab.com/gitlab-org/build/cng/gitaly:latest
+ ports:
+ - "${GITALY_HOST_PORT}:8075"
+ volumes:
+ - ./dev/gitaly-config:/etc/gital
+
diff --git a/internal/praefect/admin/server.go b/internal/praefect/admin/server.go
index cbc6be312..a7a470ba5 100644
--- a/internal/praefect/admin/server.go
+++ b/internal/praefect/admin/server.go
@@ -30,5 +30,7 @@ func NewServer(port int, d praefect.Datastore, coordinator *praefect.Coordinator
router := http.NewServeMux()
router.Handle("/failover", http.HandlerFunc(s.FailoverHandler))
+ s.Handler = router
+
return s
}