• By Arturo Enrique Seijas Fernández
Channel Revision Published Runs on
latest/stable 21 20 Apr 2023
Ubuntu 20.04
latest/edge 45 Yesterday
Ubuntu 20.04
juju deploy discourse-k8s
Show information


S3 configuration

An S3 bucket can be leveraged to serve the static resources packaged by Discourse, potentically improving performance. Moreover, it is required when scaling the charm to serve the uploaded files. To configure it to set the following configuration options with the appropriate values for your existing bucket juju config [charm_name] [configuration]=[value]:


To enable S3 to perform backups, you’ll need to specify also s3_backup_bucket.

It is also possible to configure the S3 bucket to act as a content delivery network (CDN) serving the static content directly from the bucket, for that, set s3_cdn_url. If you wish to modify the CORS set up, you can do so by changing s3_install_cors_rule.

For more details on the configuration options and their default values see the configuration reference.

Help us improve this documentation

Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.

Last updated 6 months ago. Help improve this document in the forum.