Saltar al contenido principal

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​

TypeWhere files are stored
Local File SystemOn the file system of the Casdoor server. See Local file system
AWS S3In Amazon S3. See Amazon S3
Azure BlobIn Azure Blob Storage. See Azure Blob
Google Cloud StorageIn Google Cloud Storage. See Google Cloud Storage
Aliyun OSSIn Alibaba Cloud OSS. See Alibaba Cloud OSS
Tencent Cloud COSIn Tencent Cloud COS. See Tencent Cloud COS
MinIOIn MinIO or another S3-compatible store. See MinIO
SynologyOn a Synology NAS. See Synology NAS
Qiniu Cloud KodoIn Qiniu Cloud Kodo
CasdoorIn another Casdoor instance

Campos comunes​

CampoDescripción
ID del ClienteIdentifier from the cloud storage provider.
Secreto del ClienteSecret shared with the storage service.
EndpointPublic 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.
BucketBucket/container name.
DominioCustom CDN domain for serving files.
ID de la RegiónData center region (for cloud providers).

Véase también​