Selaa lähdekoodia

Update cache.php, add more detailed redis config

Closes #19
Daniel Supernault 7 vuotta sitten
vanhempi
commit
da94721d62
1 muutettua tiedostoa jossa 10 lisäystä ja 2 poistoa
  1. 10 2
      config/cache.php

+ 10 - 2
config/cache.php

@@ -69,8 +69,16 @@ return [
         ],
         ],
 
 
         'redis' => [
         '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),
+            ],
+
         ],
         ],
 
 
     ],
     ],