Pular para o conteúdo principal

Storage providers

A storage provider decides where Casdoor stores uploaded files, such as the avatars of users. Add a storage provider and then add it to your application.

Storage types​

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

Common fields​

CampoDescrição
ID do ClienteIdentifier from the cloud storage provider.
Segredo do clienteSecret shared with the storage service.
Ponto de extremidadePublic URL/domain of the storage service.
Ponto de extremidade (intranet)Internal/private URL for same-datacenter access.
Prefixo do caminhoPrefix 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 de armazenamentoBucket/container name.
DomínioCustom CDN domain for serving files.
ID da RegiãoData center region (for cloud providers).

See also​