Configuration
Storage
Local and S3 storage configuration.
Swush supports local disk storage and S3-compatible object storage.
Local storage
Set:
STORAGE_DRIVER=localUPLOAD_ROOT=/absolute/path
Files are stored under UPLOAD_ROOT/{userId}/....
S3 storage
Set:
STORAGE_DRIVER=s3S3_ENDPOINTS3_REGIONS3_BUCKETS3_ACCESS_KEYS3_SECRET_KEYS3_FORCE_PATH_STYLE(true for MinIO)
Switching
Changing storage backends does not migrate existing files. Plan a migration if you already have data.