0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-03-14 02:25:08 +01:00

Update redis.config.php

add dbindex for redis as comment. referenced from a6f2a3c commit

Signed-off-by: Arjun Santhosh <139119101+Hujgo@users.noreply.github.com>
This commit is contained in:
Arjun Santhosh 2024-06-15 00:31:01 +05:30 committed by GitHub
parent 064069b306
commit 9f8fca44d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,6 +6,7 @@ if (getenv('REDIS_HOST')) {
'redis' => array(
'host' => getenv('REDIS_HOST'),
'password' => getenv('REDIS_HOST_PASSWORD_FILE') && file_exists(getenv('REDIS_HOST_PASSWORD_FILE')) ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'),
'dbindex' => (int) getenv('REDIS_DB_INDEX'),
),
);