Support connecting to Redis with unix socket
This commit is contained in:
parent
55c7109b98
commit
63d135071d
|
|
@ -109,9 +109,11 @@ return [
|
||||||
'cluster' => false,
|
'cluster' => false,
|
||||||
|
|
||||||
'default' => [
|
'default' => [
|
||||||
|
'schema' => menv('REDIS_SCHEMA', 'tcp'),
|
||||||
'host' => menv('REDIS_HOST', 'localhost'),
|
'host' => menv('REDIS_HOST', 'localhost'),
|
||||||
'password' => menv('REDIS_PASSWORD', null),
|
|
||||||
'port' => menv('REDIS_PORT', 6379),
|
'port' => menv('REDIS_PORT', 6379),
|
||||||
|
'path' => menv('REDIS_SOCKET_PATH'),
|
||||||
|
'password' => menv('REDIS_PASSWORD', null),
|
||||||
'database' => 0,
|
'database' => 0,
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user