Speicheranbieter
Ein Speicheranbieter bestimmt, wo Casdoor hochgeladene Dateien, wie z. B. die Avatare von Benutzern, speichert. Fügen Sie einen Speicheranbieter hinzu und fügen Sie ihn dann Ihrer Anwendung hinzu.
Speichertypen
| 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 |
Allgemeine Felder
| Feld | Beschreibung |
|---|---|
| Client-ID | Identifier from the cloud storage provider. |
| Client secret | Secret shared with the storage service. |
| Endpunkt | Public URL/domain of the storage service. |
| Endpunkt (Intranet) | Internal/private URL for same-datacenter access. |
| Pfadpräfix | Prefix for object keys (default /). With prefix abcd/xxxx, a file is stored at e.g. https://cdn.example.com/abcd/xxxx/casdoor/avatar.png. |
| Eimer | Bucket/container name. |
| Domäne | Custom CDN domain for serving files. |
| Regions-ID | Data center region (for cloud providers). |
Siehe auch
- Providers
- Konfigurationsreferenz:
defaultStorageProviderlegt den Speicheranbieter fest, den Casdoor verwendet, wenn eine Anwendung keinen hat.