Looking for doc to connect discourse with digital ocean spaces

AI-generated summary

Connecting Discourse with Digital Ocean Spaces

The discussion revolves around connecting Discourse with Digital Ocean Spaces. Pierre initially referred to a topic on setting up backup and image uploads to DigitalOcean Spaces, but was confused about the configuration.

Falco pointed out that the configuration for each provider, including Digital Ocean Spaces, is mentioned in the guide. Pierre asked where to add the Digital Ocean Spaces configuration in the app.yml file.

Pfaffman clarified that the configuration should be added to the env section of the app.yml file, and that these settings will not appear in the admin interface. Pierre initially missed this detail as it was listed under AWS S3, but thanks to Pfaffman, he understood the correct procedure.

Search led me to this topic

Then I went to this topic

I’m confused as to how the settings are handled

@Falco mentions to add the following configuration to the app.yml

after_assets_precompile:
    - exec:
        cd: $home
        cmd:
          - sudo -E -u discourse bundle exec rake s3:upload_assets

What about the the Digital Ocean spaces configuration? Do I add it to the same section? Different section? Or will the settings appear in the admin panel?

There is a section for each compatible provider in that guide. Scroll down on it, DO spaces is the second one.

Yes saw that thanks!

What do I do with the Digital Ocean spaces configuration?

Do I add the Digital Ocean spaces configuration to the same section in the app.yml?
Do I add it to different section?
Or will the settings appear in the admin panel?

It says:

Does that not communicate that you should add those settings to the env section of your app.yml?

No, they will not show up in the admin interface. Settings set with ENV variables are hidden from the admin interface.

Sorry I only noticed it after you mentioned it because that small detail was listed under AWS S3. I skipped over it since I’m working with Digital Ocean Spaces. I will give that a try, thanks!

That makes sense.

Does this help?

Looks good and thanks for the update!