Trackable / re-usable configuration

Hello,

is there any way to set configuration stuff like contact email, notification email, tags configuration, etc in the containers/app.yml or somewhere else in the code?

I say so because I’m using Ansible to provision some server with Discourse standalone docker image and I have a lot of settings that are shared. Would be nice to have some .yml that I can re-use between projects. Version control is another reason why I would really love that.

Many thanks, really liking the experience for now :clap::clap::clap:

2 Likes

Somehow related Programmatic configuration of a new Discourse site

We keep our app.yml files in source control, works great for us, we manage config for many 100s of containers this way

Hi @sam, could you please point me to a complete list of all the available settings we can use in app.yml?

Thanks! :smiley:

These can be changed by ENV vars

https://github.com/discourse/discourse/blob/master/config/discourse_defaults.conf

(change to upper case and add DISCOURSE_ in front so for example rtl_css becomes DISCOURSE_RTL_CSS)

3 Likes