Commit 5bb160d3 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs/clarify-which-host-to-add-to-configuration' into 'master'

Geo Docker replication - clarify which host to add to configuration

See merge request gitlab-org/gitlab!66344
parents 024ced02 fb278f10
...@@ -53,7 +53,7 @@ We need to make Docker Registry send notification events to the ...@@ -53,7 +53,7 @@ We need to make Docker Registry send notification events to the
registry['notifications'] = [ registry['notifications'] = [
{ {
'name' => 'geo_event', 'name' => 'geo_event',
'url' => 'https://example.com/api/v4/container_registry_event/events', 'url' => 'https://<example.com>/api/v4/container_registry_event/events',
'timeout' => '500ms', 'timeout' => '500ms',
'threshold' => 5, 'threshold' => 5,
'backoff' => '1s', 'backoff' => '1s',
...@@ -65,7 +65,8 @@ We need to make Docker Registry send notification events to the ...@@ -65,7 +65,8 @@ We need to make Docker Registry send notification events to the
``` ```
NOTE: NOTE:
Replace `<replace_with_a_secret_token>` with a case sensitive alphanumeric string Replace `<example.com>` with the `external_url` defined in your primary site's `/etc/gitlab/gitlab.rb` file, and
replace `<replace_with_a_secret_token>` with a case sensitive alphanumeric string
that starts with a letter. You can generate one with `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c 32 | sed "s/^[0-9]*//"; echo` that starts with a letter. You can generate one with `< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c 32 | sed "s/^[0-9]*//"; echo`
NOTE: NOTE:
......
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