Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

configure redis auth on sidekiq

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?

like image 805
Nick Ginanto Avatar asked Sep 22 '14 09:09

Nick Ginanto


1 Answers

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.

like image 72
Mike Perham Avatar answered Sep 27 '22 00:09

Mike Perham