diff --git a/config/database.php b/config/database.php index e316e4cbc..a3a96f6cd 100644 --- a/config/database.php +++ b/config/database.php @@ -147,5 +147,15 @@ 'port' => env('REDIS_PORT', '6379'), 'database' => env('REDIS_CACHE_DB', '1'), ], + + 'session' => [ + 'scheme' => env('REDIS_SCHEME', 'tcp'), + 'url' => env('REDIS_URL'), + 'host' => env('REDIS_HOST', '127.0.0.1'), + 'username' => env('REDIS_USERNAME'), + 'password' => env('REDIS_PASSWORD'), + 'port' => env('REDIS_PORT', '6379'), + 'database' => env('REDIS_SESSION_DB', '2'), + ], ], ];