changed redis support to load config from env
This commit is contained in:
parent
e78d1af0fa
commit
a33c66cf47
|
@ -17,3 +17,7 @@ MAIL_PORT=2525
|
|||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
|
||||
REDIS_HOST=localhost
|
||||
REDiS_KEY=
|
||||
REDIS_PORT=6379
|
||||
|
|
|
@ -116,8 +116,9 @@
|
|||
'cluster' => false,
|
||||
|
||||
'default' => [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379,
|
||||
'host' => env('REDIS_HOST', 'localhost'),
|
||||
'password' => env('REDIS_KEY', ''),
|
||||
'port' => env('REDIS_PORT', 6379),
|
||||
'database' => 0,
|
||||
],
|
||||
|
||||
|
|
Loading…
Reference in New Issue