Commit b8f9aa89 authored by Nick Gaskill's avatar Nick Gaskill

Merge branch 'doc-increment-registry-port' into 'master'

Change example custom Container Registry port to 5010

See merge request gitlab-org/gitlab!79909
parents 8e44dfdf 179918d4
...@@ -662,14 +662,14 @@ configurable in future releases. ...@@ -662,14 +662,14 @@ configurable in future releases.
The Registry server listens on localhost at port `5000` by default, The Registry server listens on localhost at port `5000` by default,
which is the address for which the Registry server should accept connections. which is the address for which the Registry server should accept connections.
In the examples below we set the Registry's port to `5001`. In the examples below we set the Registry's port to `5010`.
**Omnibus GitLab** **Omnibus GitLab**
1. Open `/etc/gitlab/gitlab.rb` and set `registry['registry_http_addr']`: 1. Open `/etc/gitlab/gitlab.rb` and set `registry['registry_http_addr']`:
```ruby ```ruby
registry['registry_http_addr'] = "localhost:5001" registry['registry_http_addr'] = "localhost:5010"
``` ```
1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect. 1. Save the file and [reconfigure GitLab](../restart_gitlab.md#omnibus-gitlab-reconfigure) for the changes to take effect.
...@@ -681,7 +681,7 @@ In the examples below we set the Registry's port to `5001`. ...@@ -681,7 +681,7 @@ In the examples below we set the Registry's port to `5001`.
```yaml ```yaml
http: http:
addr: localhost:5001 addr: localhost:5010
``` ```
1. Save the file and restart the Registry server. 1. Save the file and restart the Registry server.
......
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