Merge pull request #6267 from canoine/develop

This commit is contained in:
James Cole
2022-07-27 06:29:20 +02:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -111,7 +111,10 @@ REDIS_PATH=
# use only when using 'tcp' or 'http' for REDIS_SCHEME. Leave empty otherwise.
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=null
# Use only with Redis 6+ with proper ACL set. Leave empty otherwise.
REDIS_USERNAME=
REDIS_PASSWORD=
# always use quotes and make sure redis db "0" and "1" exists. Otherwise change accordingly.
REDIS_DB="0"

View File

@@ -159,6 +159,7 @@ return [
'path' => envNonEmpty('REDIS_PATH'),
'host' => envNonEmpty('REDIS_HOST', '127.0.0.1'),
'port' => envNonEmpty('REDIS_PORT', 6379),
'username' => env('REDIS_USERNAME'),
'password' => env('REDIS_PASSWORD', null),
'database' => env('REDIS_CACHE_DB', '1'),
],