From da94721d62dd1a37398c3dc7a83fefa2596fcc11 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 26 May 2018 17:05:38 -0600 Subject: [PATCH] Update cache.php, add more detailed redis config Closes #19 --- config/cache.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/config/cache.php b/config/cache.php index fa12e5e4f..b36148427 100644 --- a/config/cache.php +++ b/config/cache.php @@ -69,8 +69,16 @@ return [ ], '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), + ], + ], ],