Added support for new redis URL property in config/database.php (#5037)

Regarding laravel/framework#28612
This commit is contained in:
Antoni Siek 2019-05-30 18:22:45 +02:00 committed by Taylor Otwell
parent 9530937958
commit bf60f7f74f
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ return [
],
'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
@ -134,6 +135,7 @@ return [
],
'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),