How to configure redis with password in case of stand alone redis server

(Irshad) #1

My discourse app need to connect to central redis server which has auth enabled.Right now I am connecting this server by setting DISCOURSE_REDIS_HOST: $MyRedisIP in web_only.yml. Is there a way I can configure a password for redis connection ? Can something be configured like DISCOURSE_DB_PASSWORD ?

(Sam Saffron) #2

Auth is supported see:

The env var you are after is DISCOURSE_REDIS_PASSWORD