Skip to content

Commit

Permalink
Added support for new redis URL property in config/database.php (#5037)
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustToNy authored and gomasy committed Sep 17, 2019
1 parent 44aea0c commit 7204ef3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@
],

'default' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
'database' => env('REDIS_DB', 0),
],

'cache' => [
'url' => env('REDIS_URL'),
'host' => env('REDIS_HOST', '127.0.0.1'),
'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379),
Expand Down

0 comments on commit 7204ef3

Please sign in to comment.