Support connecting to Redis with unix socket

This commit is contained in:
Pig Fang 2018-07-22 16:37:59 +08:00
parent 26e81eba6e
commit e30e538d5f

View File

@ -109,9 +109,11 @@ return [
'cluster' => false,
'default' => [
'scheme' => menv('REDIS_SCHEME', 'tcp'),
'host' => menv('REDIS_HOST', 'localhost'),
'password' => menv('REDIS_PASSWORD', null),
'port' => menv('REDIS_PORT', 6379),
'path' => menv('REDIS_SOCKET_PATH'),
'password' => menv('REDIS_PASSWORD', null),
'database' => 0,
],