Skip to content
代码片段 群组 项目
提交 43a11106 编辑于 作者: 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
No related branches found
No related tags found
无相关合并请求
...@@ -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:
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册