Commit a33c66cf by Cory Fowler

changed redis support to load config from env

parent e78d1af0
...@@ -17,3 +17,7 @@ MAIL_PORT=2525 ...@@ -17,3 +17,7 @@ MAIL_PORT=2525
MAIL_USERNAME=null MAIL_USERNAME=null
MAIL_PASSWORD=null MAIL_PASSWORD=null
MAIL_ENCRYPTION=null MAIL_ENCRYPTION=null
REDIS_HOST=localhost
REDiS_KEY=
REDIS_PORT=6379
...@@ -116,8 +116,9 @@ return [ ...@@ -116,8 +116,9 @@ return [
'cluster' => false, 'cluster' => false,
'default' => [ 'default' => [
'host' => '127.0.0.1', 'host' => env('REDIS_HOST', 'localhost'),
'port' => 6379, 'password' => env('REDIS_KEY', ''),
'port' => env('REDIS_PORT', 6379),
'database' => 0, 'database' => 0,
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment