diff --git a/19.0/apache/config/redis.config.php b/19.0/apache/config/redis.config.php index 9429c901..1b3b1c2d 100644 --- a/19.0/apache/config/redis.config.php +++ b/19.0/apache/config/redis.config.php @@ -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'] = getenv('REDIS_DB_INDEX'); + } }