diff --git a/config/environments/production.rb b/config/environments/production.rb index e70ed730e0..9d110a9ca8 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -44,7 +44,7 @@ Openfoodnetwork::Application.configure do # Use a different cache store in production config.cache_store = :redis_cache_store, { driver: :hiredis, - url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), + url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6380/0"), reconnect_attempts: 1 } diff --git a/config/environments/staging.rb b/config/environments/staging.rb index e70ed730e0..9d110a9ca8 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -44,7 +44,7 @@ Openfoodnetwork::Application.configure do # Use a different cache store in production config.cache_store = :redis_cache_store, { driver: :hiredis, - url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6379/0"), + url: ENV.fetch("OFN_REDIS_URL", "redis://localhost:6380/0"), reconnect_attempts: 1 }