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.

Sie können jetzt alle Einstellungen mit einer Umgebungsvariablen wie DISCOURSE_SETTING_NAME festlegen. Diese werden beim Start der Website in die Datei discourse.conf übertragen.

2 „Gefällt mir“

Dieses Thema wurde nach 8 Tagen automatisch geschlossen. Neue Antworten sind nicht mehr möglich.