Commit 414af121 authored by Stan Hu's avatar Stan Hu

Merge branch 'jr-registry-server-debug-docs' into 'master'

Add registry debug server docs

See merge request gitlab-org/gitlab-ce!19457
parents 610a8f24 9f9e107a
......@@ -143,6 +143,24 @@ docker login -u <your_username> -p <your_access_token>
for errors (e.g. `/var/log/gitlab/gitlab-rails/production.log`). You may be able to find clues
#### Enable the registry debug server
The optional debug server can be enabled by setting the registry debug address
in your `gitlab.rb` configuration.
registry['debug_addr'] = "localhost:5001"
After adding the setting, [reconfigure] GitLab to apply the change.
Use curl to request debug output from the debug server:
curl localhost:5001/debug/health
curl localhost:5001/debug/vars
### Advanced Troubleshooting
>**NOTE:** The following section is only recommended for experts.
......@@ -275,3 +293,4 @@ Once the right permissions were set, the error will go away.
[pat]: ../profile/
[pdt]: ../project/deploy_tokens/
[reconfigure]: ../../administration/
\ No newline at end of file
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