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.

Ahora puedes configurar todos los ajustes con una variable de entorno como DISCOURSE_SETTING_NAME. Estas se transfieren al archivo discourse.conf cuando el sitio arranca.

2 Me gusta

Este tema se cerró automáticamente después de 8 días. Ya no se permiten nuevas respuestas.