Settings at bootstrap

Hi,

Is there a recommended and supported way of setting site and plugin settings during the boostrap process, for example in app.yml. I can see some potential issues with that approach if autoscaling but I believe we can manage that.

Thanks,

Pontus

Some can be set via environment variables. See site_settings.yml and discourse.conf (or similar) in the config directory.

Also, I have just developed an ansible module for managing site settings.

You can now set all settings with an environment variable like DISCOURSE_SETTING_NAME. These get transferred into the discourse.conf file when the site boots.

2 Likes

This topic was automatically closed after 8 days. New replies are no longer allowed.