Sidekiq looks for redis on localhost instead of remote Sidekiq looks for redis on localhost instead of remote docker docker

Sidekiq looks for redis on localhost instead of remote


Ok, I missed to read the documentation carefully and didn't configure sidekiq clientside:

Sidekiq.configure_server do |config|  config.redis = { url: "redis://#{ENV['REDIS_PORT_6379_TCP_ADDR']}:#{ENV['REDIS_PORT_6379_TCP_PORT']}/0", namespace: 'Tyresearch' }endSidekiq.configure_client do |config|  config.redis = { url: "redis://#{ENV['REDIS_PORT_6379_TCP_ADDR']}:#{ENV['REDIS_PORT_6379_TCP_PORT']}/0", namespace: 'Tyresearch' }end