mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-20 10:06:04 +10:00
Bring back path to registry settings
This commit is contained in:
@@ -183,6 +183,7 @@ production: &base
|
||||
# api_url: http://localhost:5000/
|
||||
# key: config/registry.key
|
||||
# issuer: omnibus-certificate
|
||||
# path: shared/registry
|
||||
|
||||
#
|
||||
# 2. GitLab CI settings
|
||||
|
||||
@@ -254,6 +254,7 @@ Settings.registry['api_url'] ||= "http://localhost:5000/"
|
||||
Settings.registry['key'] ||= nil
|
||||
Settings.registry['issuer'] ||= nil
|
||||
Settings.registry['host_port'] ||= [Settings.registry['host'], Settings.registry['port']].compact.join(':')
|
||||
Settings.registry['path'] = File.expand_path(Settings.artifacts['path'] || File.join(Settings.shared['path'], "registry"), Rails.root)
|
||||
|
||||
#
|
||||
# Git LFS
|
||||
|
||||
Reference in New Issue
Block a user