Skip to content

Commit bf60f7f

Browse files
ImJustToNytaylorotwell
authored andcommitted
Added support for new redis URL property in config/database.php (laravel#5037)
Regarding laravel/framework#28612
1 parent 9530937 commit bf60f7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/database.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,15 @@
127127
],
128128

129129
'default' => [
130+
'url' => env('REDIS_URL'),
130131
'host' => env('REDIS_HOST', '127.0.0.1'),
131132
'password' => env('REDIS_PASSWORD', null),
132133
'port' => env('REDIS_PORT', 6379),
133134
'database' => env('REDIS_DB', 0),
134135
],
135136

136137
'cache' => [
138+
'url' => env('REDIS_URL'),
137139
'host' => env('REDIS_HOST', '127.0.0.1'),
138140
'password' => env('REDIS_PASSWORD', null),
139141
'port' => env('REDIS_PORT', 6379),

0 commit comments

Comments
 (0)