Commit 43a11106 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-hchouraria-geo-registry-primary-port' into 'master'

Docs: Format comment to be more visible on website

See merge request gitlab-org/gitlab!64296
parents add6e5b8 7aa454af
...@@ -109,11 +109,14 @@ For each application and Sidekiq node on the **secondary** site: ...@@ -109,11 +109,14 @@ For each application and Sidekiq node on the **secondary** site:
1. Copy `/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key` from the **primary** to the node. 1. Copy `/var/opt/gitlab/gitlab-rails/etc/gitlab-registry.key` from the **primary** to the node.
1. Edit `/etc/gitlab/gitlab.rb`: 1. Edit `/etc/gitlab/gitlab.rb` and add:
```ruby ```ruby
gitlab_rails['geo_registry_replication_enabled'] = true gitlab_rails['geo_registry_replication_enabled'] = true
gitlab_rails['geo_registry_replication_primary_api_url'] = 'https://primary.example.com:5050/' # Primary registry address, it will be used by the secondary node to directly communicate to primary registry
# Primary registry's hostname and port, it will be used by
# the secondary node to directly communicate to primary registry
gitlab_rails['geo_registry_replication_primary_api_url'] = 'https://primary.example.com:5050/'
``` ```
1. Reconfigure the node for the change to take effect: 1. Reconfigure the node for the change to take effect:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment