问题
I think I am missing something since I couldn't find in the docs how to write the username and password for the redis instance to use with sidekiq..
Is there a way to do this? Or is it through ENV vars?
回答1:
Sidekiq passes unrecognized redis options directly to the Redis driver:
config.redis = { password: 'bar' }
And redis does not have the concept of users so there's only password.
来源:https://stackoverflow.com/questions/25970513/configure-redis-auth-on-sidekiq