How can I add redis password to config/sidekiq.yml?

536 views
Skip to first unread message

Holger Foerster

unread,
Apr 26, 2018, 2:50:20 AM4/26/18
to Sidekiq
Hi @all,

i started the redis server with a password and now I want add the password to config/sidekiq.yml,
this is my try:

cat config/sidekiq.yml
---
:concurrency: 5
staging:
  :concurrency: 10
development:
  :concurrency: 10
  :password: MyPassword
production:
  :concurrency: 20
  :pidfile: shared/pids/sidekiq.pid
  :logfile: log/sidekiq_production.log
:queues:
  - critical
  - default
  - low


but this is not working, any ideas?

greetings Holger ...

Mike Perham

unread,
Apr 26, 2018, 12:21:07 PM4/26/18
to sid...@googlegroups.com
Redis cannot be configured via sidekiq.yml.  You can use the initializer or ENV.


--
You received this message because you are subscribed to the Google Groups "Sidekiq" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sidekiq+unsubscribe@googlegroups.com.
To post to this group, send email to sid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sidekiq/90939aee-45e4-41be-a3d1-66ceb065fe50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Mike Perham – CEO, Contributed Systems
Smart, effective open source infrastructure for your apps.
Reply all
Reply to author
Forward
0 new messages