Fournisseurs de stockage
Un fournisseur de stockage détermine où Casdoor stocke les fichiers téléversés, tels que les avatars des utilisateurs. Ajoutez un fournisseur de stockage puis ajoutez-le à votre application.
Types de stockage
| 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 |
Champs communs
| Champ | Description |
|---|---|
| ID client | Identifier from the cloud storage provider. |
| Client secret | Secret shared with the storage service. |
| Point de terminaison | Public URL/domain of the storage service. |
| Endpoint (intranet) | Internal/private URL for same-datacenter access. |
| Préfixe de chemin | 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. |
| seau | Bucket/container name. |
| Domaine | Custom CDN domain for serving files. |
| Identifiant de région | Data center region (for cloud providers). |
Voir aussi
- Fournisseurs
- Référence de configuration :
defaultStorageProviderdéfinit le fournisseur de stockage utilisé par Casdoor lorsqu'une application n'en a aucun.