mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-06 13:34:50 +08:00
Support connecting to Redis with unix socket
This commit is contained in:
parent
26e81eba6e
commit
e30e538d5f
@ -109,9 +109,11 @@ return [
|
|||||||
'cluster' => false,
|
'cluster' => false,
|
||||||
|
|
||||||
'default' => [
|
'default' => [
|
||||||
|
'scheme' => menv('REDIS_SCHEME', '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