Sidekiq can use Dragonfly, an open source datastore compatible with Redis.
By default, Sidekiq connects localhost:6379
. Since Dragonfly (hereafter, DF) is 100% compatible with Redis clients, your configuration will look identical to Redis configuration.
You can configure DF's location using an environment variable.
The easiest option is to set REDIS_URL
; Sidekiq will pick it up and use it.
A Redis URL looks like redis://[hostname]:[port]/[dbnumber]
, e.g. redis://redis.example.com:7777/11
.