Zum Hauptinhalt springen

MinIO storage

MinIO is S3-compatible object storage. Use it as a Casdoor storage provider for file uploads (e.g. avatars).

1. Deploy MinIO

Deploy MinIO with TLS enabled. From the MinIO console note the API address, create an Access Key and Secret Key, and create a Bucket.

Deploy service Zugangsschlüssel erstellen Bucket erstellen

2. Add the provider in Casdoor

Create a Storage provider, set Type to MinIO, and fill in:

Casdoor fieldValue from MinIO
Client IDAccess Key
Client secretSecret Key
EndpointAPI address
BucketBucket name

Einen MinIO-Anbieter erstellen

3. Use in your application

Attach the provider to your application; uploads will go to MinIO.