存储提供商
存储提供商决定 Casdoor 在哪里保存上传的文件,例如用户的头像。请先添加一个存储提供商,然后将其添加到您的应用中。
存储类型
| Type | Where files are stored |
|---|---|
Local File System | On the file system of the Casdoor server. See Local file system |
AWS S3 | In Amazon S3. See Amazon S3 |
Azure Blob | In Azure Blob Storage. See Azure Blob |
Google Cloud Storage | In Google Cloud Storage. See Google Cloud Storage |
Aliyun OSS | In Alibaba Cloud OSS. See Alibaba Cloud OSS |
Tencent Cloud COS | In Tencent Cloud COS. See Tencent Cloud COS |
MinIO | In MinIO or another S3-compatible store. See MinIO |
Synology | On a Synology NAS. See Synology NAS |
Qiniu Cloud Kodo | In Qiniu Cloud Kodo |
Casdoor | In another Casdoor instance |
通用字段
| 字段 | 描述 |
|---|---|
| 客户端ID | 云存储提供商给的标识。 |
| 客户端密钥 | 与存储服务共享的密钥。 |
| 端点 | 存储服务的公网地址 / 域名。 |
| 地域节点 (内网) | 同机房访问用的内网地址。 |
| 路径前缀 | 对象键的前缀(默认 /)。前缀为 abcd/xxxx 时,文件存放在例如 https://cdn.example.com/abcd/xxxx/casdoor/avatar.png。 |
| 存储桶 | 存储桶 / 容器名称。 |
| 域名 | 用于提供文件的自定义 CDN 域名。 |
| 地域ID | 数据中心地域(云提供商)。 |