S3_* variables at one:
AWS S3
Cloudflare R2
What the server sets up
On start, the server creates the bucket when it is missing, allows browser uploads fromAPP_URL (a CORS rule), and, when the bucket has no lifecycle
rules yet, adds two: staging/ expires after a day, renditions/ after 30. A
key that can’t change bucket settings (R2’s object tokens can’t) logs a
warning instead: set those three in the provider’s console.
What is in the bucket
Back up
assets/ and previews/. Renditions and staged uploads are
disposable.