changed redis support to load config from env

This commit is contained in:
Cory Fowler
2015-12-01 14:15:22 -08:00
parent e78d1af0fa
commit a33c66cf47
2 changed files with 7 additions and 2 deletions

View File

@@ -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,
],