Swush
Configuration

Storage

Local and S3 storage configuration.

Swush supports local disk storage and S3-compatible object storage.

Local storage

Set:

  • STORAGE_DRIVER=local
  • UPLOAD_ROOT=/absolute/path

Files are stored under UPLOAD_ROOT/{userId}/....

S3 storage

Set:

  • STORAGE_DRIVER=s3
  • S3_ENDPOINT
  • S3_REGION
  • S3_BUCKET
  • S3_ACCESS_KEY
  • S3_SECRET_KEY
  • S3_FORCE_PATH_STYLE (true for MinIO)

Switching

Changing storage backends does not migrate existing files. Plan a migration if you already have data.

On this page