Commit a33c66cf authored by Cory Fowler's avatar Cory Fowler

changed redis support to load config from env

parent e78d1af0
......@@ -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 @@ return [
'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,
],
......
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