马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
×
gitlab 配置对象存储后 GitLab 配置中缺少 “provider” 选项而失败 使用的是移动云的云产品,gitlab版本为:16.9.5
配置为
gitlab_rails['object_store']['enabled'] = true
gitlab_rails['object_store']['connection'] = {
'provider' => 'AWS',
'aws_access_key_id' => '', # AccessKey
'aws_secret_access_key' => '', # SecretKey
'region' => 'huhehaote1',
'endpoint' => 'https://eos-huhehaote-1.cmecloud.cn',
'path_style' => true,
'force_path_style' => true,
'connect_timeout' => 600,
'read_timeout' => 600,
'write_timeout' => 600,
'retry_limit' => 5,
'http_open_timeout' => 300,
'http_read_timeout' => 300
}
配置Uploads(附件)使用对象存
gitlab_rails['uploads_object_store_enabled'] = true
gitlab_rails['uploads_object_store_remote_directory'] = 'gitlab-uploads'
gitlab_rails['lfs_object_store_proxy_download'] = false # 直接从对象存储下载
配置LFS使用对象存储
gitlab_rails['lfs_object_store_enabled'] = true
gitlab_rails['lfs_object_store_remote_directory'] = 'gitlab-lfs'
gitlab_rails['uploads_object_store_proxy_download'] = false # 直接从对象存储下载
请问各位大佬有啥好解决办法吗 |