Configure redis auth on sidekiq

I think I am missing something because I could not find in the documents how to write the username and password for the redis instance to use with sidekiq ..

Is there any way to do this? Or is it through ENV vars?

+8
ruby-on-rails redis sidekiq
source share
1 answer

Sidekiq passes the unrecognized redis options directly to the Redis driver:

config.redis = { password: 'bar' } 

And redis has no user concept, so there is only a password.

+16
source share

All Articles