Skip to content

Commit

Permalink
Update cache.php, add more detailed redis config
Browse files Browse the repository at this point in the history
Closes #19
  • Loading branch information
dansup committed May 26, 2018
1 parent e1faa17 commit da94721
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions config/cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,16 @@
],

'redis' => [
'driver' => 'redis',
'connection' => 'default',

'client' => 'predis',

'default' => [
'host' => env('REDIS_HOST', 'localhost'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DATABASE', 0),
],

],

],
Expand Down

0 comments on commit da94721

Please sign in to comment.