0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-23 23:58:04 +02:00
This commit is contained in:
GroundCharge 2024-12-12 19:49:30 +01:00 committed by GitHub
commit bde6a3e945
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 10 additions and 4 deletions

View file

@ -14,4 +14,8 @@ if (getenv('REDIS_HOST')) {
} elseif (getenv('REDIS_HOST')[0] != '/') {
$CONFIG['redis']['port'] = 6379;
}
if (getenv('REDIS_DB_INDEX') !== false) {
$CONFIG['redis']['dbindex'] = (int) getenv('REDIS_DB_INDEX');
}
}