Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
2e3cbb69
Commit
2e3cbb69
authored
Jan 09, 2017
by
Balasankar C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Registry administration doc - external registry
parent
8ab94120
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
0 deletions
+40
-0
doc/administration/container_registry.md
doc/administration/container_registry.md
+40
-0
No files found.
doc/administration/container_registry.md
View file @
2e3cbb69
...
@@ -462,6 +462,46 @@ If Registry is enabled in your GitLab instance, but you don't need it for your
...
@@ -462,6 +462,46 @@ If Registry is enabled in your GitLab instance, but you don't need it for your
project, you can disable it from your project's settings. Read the user guide
project, you can disable it from your project's settings. Read the user guide
on how to achieve that.
on how to achieve that.
## Disable Container Registry but use GitLab as an auth endpoint
You can disable the embedded Container Registry to use an external one, but
still use GitLab as an auth endpoint.
**Omnibus GitLab**
1.
Open
`/etc/gitlab/gitlab.rb`
and set necessary configurations:
```ruby
registry['enable'] = false
gitlab_rails['registry_enabled'] = true
gitlab_rails['registry_host'] = "registry.gitlab.example.com"
gitlab_rails['registry_port'] = "5005"
gitlab_rails['registry_api_url'] = "http://localhost:5000"
gitlab_rails['registry_key_path'] = "/var/opt/gitlab/gitlab-rails/certificate.key"
gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
gitlab_rails['registry_issuer'] = "omnibus-gitlab-issuer"
```
1.
Save the file and
[
reconfigure GitLab
][]
for the changes to take effect.
**Installations from source**
1.
Open
`/home/git/gitlab/config/gitlab.yml`
, and edit the configuration settings under
`registry`
:
```
## Container Registry
registry:
enabled: true
host: "registry.gitlab.example.com"
port: "5005"
api_url: "http://localhost:5000"
path: /var/opt/gitlab/gitlab-rails/shared/registry
key: /var/opt/gitlab/gitlab-rails/certificate.key
issuer: omnibus-gitlab-issuer
```
1.
Save the file and
[
restart GitLab
][]
for the changes to take effect.
## Storage limitations
## Storage limitations
Currently, there is no storage limitation, which means a user can upload an
Currently, there is no storage limitation, which means a user can upload an
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment