Trackable / re-usable configuration


#1

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

Somehow related Programmatic configuration of a new Discourse site


(Sam Saffron) #3

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


#4

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

Thanks! :smiley:


(Sam Saffron) #5

These can be changed by ENV vars

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