Comment configurer Cloudflare R2 pour votre communauté Discourse

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.