From e6dd67322eb1e1247b74e52053bcc83f6a1fee90 Mon Sep 17 00:00:00 2001 From: "Thomas.G" Date: Thu, 16 Apr 2026 10:40:31 +0200 Subject: [PATCH] chore(configs): regenerate redis configs Signed-off-by: Thomas.G --- 32/apache/config/redis.config.php | 24 +++++++++++++++++++++++- 32/fpm-alpine/config/redis.config.php | 24 +++++++++++++++++++++++- 32/fpm/config/redis.config.php | 24 +++++++++++++++++++++++- 33/apache/config/redis.config.php | 24 +++++++++++++++++++++++- 33/fpm-alpine/config/redis.config.php | 24 +++++++++++++++++++++++- 33/fpm/config/redis.config.php | 24 +++++++++++++++++++++++- 6 files changed, 138 insertions(+), 6 deletions(-) diff --git a/32/apache/config/redis.config.php b/32/apache/config/redis.config.php index 2069812f..d47658cf 100644 --- a/32/apache/config/redis.config.php +++ b/32/apache/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', diff --git a/32/fpm-alpine/config/redis.config.php b/32/fpm-alpine/config/redis.config.php index 2069812f..d47658cf 100644 --- a/32/fpm-alpine/config/redis.config.php +++ b/32/fpm-alpine/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', diff --git a/32/fpm/config/redis.config.php b/32/fpm/config/redis.config.php index 2069812f..d47658cf 100644 --- a/32/fpm/config/redis.config.php +++ b/32/fpm/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', diff --git a/33/apache/config/redis.config.php b/33/apache/config/redis.config.php index 2069812f..d47658cf 100644 --- a/33/apache/config/redis.config.php +++ b/33/apache/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', diff --git a/33/fpm-alpine/config/redis.config.php b/33/fpm-alpine/config/redis.config.php index 2069812f..d47658cf 100644 --- a/33/fpm-alpine/config/redis.config.php +++ b/33/fpm-alpine/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis', diff --git a/33/fpm/config/redis.config.php b/33/fpm/config/redis.config.php index 2069812f..d47658cf 100644 --- a/33/fpm/config/redis.config.php +++ b/33/fpm/config/redis.config.php @@ -1,5 +1,27 @@ '\OC\Memcache\Redis', + 'memcache.locking' => '\OC\Memcache\Redis', + 'redis.cluster' => array( + 'seeds' => $redisClusterSeeds, + 'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'), + ), + ); + + if (getenv('REDIS_HOST_USER') !== false) { + $CONFIG['redis.cluster']['user'] = (string) getenv('REDIS_HOST_USER'); + } +} elseif (getenv('REDIS_HOST')) { $CONFIG = array( 'memcache.distributed' => '\OC\Memcache\Redis', 'memcache.locking' => '\OC\Memcache\Redis',