add cloudflare r2 storage (#1835)

This commit is contained in:
LixvYang
2024-07-30 15:31:23 +08:00
committed by GitHub
parent 5a5b86aeec
commit 2d0b9ecac0
5 changed files with 113 additions and 6 deletions

View File

@@ -211,6 +211,15 @@ aws-s3:
base-url: https://gin.vue.admin
path-prefix: github.com/flipped-aurora/gin-vue-admin/server
# cloudflare r2 configuration
cloudflare-r2:
bucket: xxxx0bucket
base-url: https://gin.vue.admin.com
path: uploads
account-id: xxx_account_id
access-key-id: xxx_key_id
secret-access-key: xxx_secret_key
# huawei obs configuration
hua-wei-obs:
path: you-path