How to Configure Cloudflare R2 for your Discourse Community

I recommend that you follow the examples in Configure an S3 compatible object storage provider for uploads and put the settings in your yml file rather than in the database.