Commit 179918d4 authored by Mike Lockhart's avatar Mike Lockhart Committed by Nick Gaskill

Change example custom Registry port to 5005

The main reason to change this port is to fix a conflict with other
software. For example, we've seen that data-dog uses 5000, and 5001.

This also avoids conflicting with the GitLab Registry debug server, 
which uses 5001 as well.
parent 6cfa36b0
...@@ -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