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.

Ora puoi impostare tutte le impostazioni con una variabile d’ambiente come DISCOURSE_SETTING_NAME. Queste vengono trasferite nel file discourse.conf all’avvio del sito.

2 Mi Piace

Questo argomento è stato chiuso automaticamente dopo 8 giorni. Non sono più consentite nuove risposte.