1
0
Fork 0
forked from mirror/pixelfed

Update cache.php, add more detailed redis config

Closes #19
This commit is contained in:
Daniel Supernault 2018-05-26 17:05:38 -06:00
parent e1faa17bd5
commit da94721d62

View file

@ -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),
],
], ],
], ],