How to set redis DB ID in Docker container?

I’ve found the corresponding setting via this answer. It’s hidden in discourse_defaults.conf:
https://github.com/discourse/discourse/blob/ee18d9ace09b0b2919867c905cda72f85f61efb4/config/discourse_defaults.conf#L115

It’s called redis_db, so the corresponding setting in the container yaml should be DISCOURSE_REDIS_DB.

1 Like