Skip to content

Commit

Permalink
Add session DB connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
dgoetzit committed Apr 24, 2024
1 parent 71842e8 commit b5eb627
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
],
],
];

0 comments on commit b5eb627

Please sign in to comment.