Proveedores de almacenamiento
Un proveedor de almacenamiento determina dónde guarda Casdoor los archivos subidos, como los avatares de los usuarios. Agrega un proveedor de almacenamiento y luego añádelo a tu aplicación.
Tipos de almacenamiento
| 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 |
Campos comunes
| Campo | Descripción |
|---|---|
| ID del Cliente | Identifier from the cloud storage provider. |
| Secreto del Cliente | Secret shared with the storage service. |
| Endpoint | Public URL/domain of the storage service. |
| Endpoint (Intranet) | Internal/private URL for same-datacenter access. |
| Prefijo de la ruta (path) | 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. |
| Bucket | Bucket/container name. |
| Dominio | Custom CDN domain for serving files. |
| ID de la Región | Data center region (for cloud providers). |
Véase también
- Providers
- Referencia de configuración:
defaultStorageProviderestablece el proveedor de almacenamiento que usa Casdoor cuando una aplicación no tiene ninguno.