feat(config): add REDIS_DATABASE support

Add the possibility to set the redis database to use.
The default value is still 0
This commit is contained in:
fe80 2024-01-18 10:59:05 +01:00
parent adba2d5b6c
commit f52b17cca6
No known key found for this signature in database
GPG key ID: 31197BE94F263CCC

View file

@ -155,7 +155,7 @@ return [
'host' => env('REDIS_HOST', 'localhost'), 'host' => env('REDIS_HOST', 'localhost'),
'password' => env('REDIS_PASSWORD', null), 'password' => env('REDIS_PASSWORD', null),
'port' => env('REDIS_PORT', 6379), 'port' => env('REDIS_PORT', 6379),
'database' => 0, 'database' => env('REDIS_DATABASE', 0),
], ],
], ],