diff --git a/config/broadcasting.php b/config/broadcasting.php index 3ca45eaa8523..d034dccb2178 100644 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -43,7 +43,7 @@ return [ 'redis' => [ 'driver' => 'redis', - 'connection' => 'default', + 'connection' => env('REDIS_BROADCAST_CONNECTION', 'default'), ], 'log' => [ diff --git a/config/cache.php b/config/cache.php index 4f41fdf966b5..b054ca87d6f7 100644 --- a/config/cache.php +++ b/config/cache.php @@ -74,7 +74,7 @@ return [ 'redis' => [ 'driver' => 'redis', - 'connection' => 'cache', + 'connection' => env('REDIS_CACHE_CONNECTION', 'cache'), ], 'dynamodb' => [ diff --git a/config/queue.php b/config/queue.php index dc2d4665ea47..8f826c982be9 100644 --- a/config/queue.php +++ b/config/queue.php @@ -61,7 +61,7 @@ return [ 'redis' => [ 'driver' => 'redis', - 'connection' => 'default', + 'connection' => env('REDIS_QUEUE_CONNECTION', 'default'), 'queue' => env('REDIS_QUEUE', 'default'), 'retry_after' => 90000000, 'block_for' => null,