Перейти до основного вмісту

Провайдери зберігання

Провайдер зберігання визначає, де Casdoor зберігає завантажені файли, такі як аватари користувачів. Додайте провайдера зберігання, а потім додайте його до свого додатку.

Типи сховищ​

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

Спільні поля​

ПолеОпис
ID клієнтаIdentifier from the cloud storage provider.
Секрет клієнтаSecret shared with the storage service.
Кінцева точкаPublic URL/domain of the storage service.
Кінцева точка (Інтранет)Internal/private URL for same-datacenter access.
Префікс шляху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/container name.
ДоменCustom CDN domain for serving files.
ID регіонуData center region (for cloud providers).

Див. також​