Summary | This plugin fixes various methods in Discourse related to S3 tasks | |
Repository Link | https://github.com/Wolftallemo/discourse-gcs-helper | |
Install Guide | How to install plugins in Discourse |
This plugin overrides various S3 related methods to make them compatible with Google Cloud Storage.
Currently, the following features are patched by this plugin:
- Copying large (>=15mb) objects to tombstone
- Tombstone lifecycle management
- Expiring assets
To install and configure this plugin:
- Add the plugin to your
app.yml
as you would any other plugin - Download a service key file from one of your service accounts (preferably the same service account that your hmac keys are under)
- Upload and move the key file to
/var/discourse/shared/standalone
and name itgcs.json
- Rebuild
Note: To set a different path to load the key file from, set the STORAGE_CREDENTIALS_PATH
variable in the env
section of your app.yml
before rebuilding. This can be any path that is visible to both the host and container.