极狐GitLab 正式推出面向 GitLab 老旧版本(12.x、13.x、14.x、15.x 等)免费用户的专业升级服务,点击查看详情

返回列表 发布新帖

gitlab 配置对象存储失败

53 0

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×

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 # 直接从对象存储下载

请问各位大佬有啥好解决办法吗

回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2025 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表