External database ENV VARs not documented (external PG Port, external Redis ENV VARs)

You can see all of the possible global vars documented at:

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

You can pass in config from your environment, all the settings below are available.
Append DISCOURSE_ and upper case the setting in ENV. For example:
to pass in db_timeout of 200 you would use DISCOURSE_DB_TIMEOUT=200

3 Likes