Server configuration version control best practice?


#1

I’m wondering if there’s any best practice on version controlling configuration on rc server, for tracking admin settings changes against issues seen, for example. Also would presumably be good for being able to quickly see configuration settings. And further along this line, is there a best practice that people advise for programmatically applying rc server settings?

Thanks for any help.


#2

Pragmatically applying configuration can be done via environment variables.

You can do via: setting_name=value but it will only take effect if the setting has not been set before.

OVERWRITE_SETTING_setting_name=value however will overwrite the setting regardless. Be careful doing this and make sure you use a value that is supposed to be there :slight_smile:

With great power comes great responsibility. :grin:


#3

Thanks a lot Aaron. Will try that out.