From a275b2fec32cae297337824194f45e47285b6e29 Mon Sep 17 00:00:00 2001 From: BlazingRockStorm Date: Wed, 15 Nov 2023 13:43:10 +0900 Subject: [PATCH] edit sidekiq config --- config/initializers/sidekiq.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index 6f6c598..fd6bfe6 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -1,4 +1,4 @@ -redis_config= { url: 'redis://redis:6379/0' } +redis_config= { url: "redis://#{ENV.fetch('REDIS_URL', 'redis:6379')}" } Sidekiq.configure_server do |config| config.redis = redis_config