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.

现在,您可以使用环境变量(如 DISCOURSE_SETTING_NAME)来设置所有设置。这些设置将在站点启动时传输到 discourse.conf 文件中。

2 个赞

此主题已在 8 天后自动关闭。不再允许回复。