Skip to content
Snippets Groups Projects
Verified Commit 2ffe6441 authored by psy's avatar psy
Browse files

add config option to change registry path

parent de8315c9
No related branches found
No related tags found
No related merge requests found
......@@ -34,6 +34,9 @@ external_url: 'https://localhost'
# external url for gitlab pages, set to Null to disable
pages_external_url: ~
# alternative storage path for registry, set to Null to disable
registry_path: ~
# external url for the container registry, set to Null to disable
registry_external_url: ~
......
......@@ -6,6 +6,7 @@ gitlab:
external_url: 'https://localhost'
path: '/var/opt/gitlab/backups'
pages_external_url: ~
registry_path: ~
registry_external_url: ~
gitlab_ssh_host: 'localhost'
gitlab_shell_ssh_port: 22
......
......@@ -651,6 +651,9 @@ gitlab_rails['registry_enabled'] = true
# gitlab_rails['registry_port'] = "5000"
# gitlab_rails['registry_path'] = "/var/opt/gitlab/gitlab-rails/shared/registry"
{% if gitlab.registry_path %}
gitlab_rails['registry_path'] = "{{ gitlab.registry_path }}"
# Notification secret, it's used to authenticate notification requests to GitLab application
# You only need to change this when you use external Registry service, otherwise
# it will be taken directly from notification settings of your Registry
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment