Stores Payload upload files in Cloudflare R2 buckets instead of local disk
Cloud Storage
Stores Payload uploads in S3 and S3-compatible buckets like DigitalOcean Spaces
Installation
pnpm add payload-plugin-cloud-storage About
Cloud Storage moves files uploaded to Payload collections off the application server and into a remote bucket. Each upload collection sends its files to the bucket when a document is saved, and removes them from the bucket when the document is deleted.
Every uploaded file gets a URL field pointing at its remote copy, and each image size gets one too, so the front end can link straight to the CDN or bucket address. Admin thumbnails are pulled from the remote files. The storage adapter works with Amazon S3 and with services that expose an S3-compatible API, such as DigitalOcean Spaces.
Package info
- Package name
payload-plugin-cloud-storage- Latest version
1.1.0- Unpacked size
- 36 kB
- License
- MIT
- Weekly downloads
- 46
- Last publish
- Dec 1, 2021
Similar adapters
More in StorageStores collection uploads in Vercel Blob Storage instead of local disk
Stores Payload uploads in Google Cloud Storage buckets, with optional direct browser uploads
Stores Payload uploads in UploadThing file hosting
Stores Payload uploads in Azure Blob Storage, with optional direct browser uploads
Stores Payload uploads in Amazon S3 buckets with optional presigned downloads