0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-06-16 00:04:48 +02:00
This commit is contained in:
Ziris85 2025-01-25 12:27:35 +08:00 committed by GitHub
commit 03e9005659
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 29 additions and 29 deletions

View file

@ -4,7 +4,7 @@ if (getenv('REDIS_HOST')) {
'memcache.distributed' => '\OC\Memcache\Redis',
'memcache.locking' => '\OC\Memcache\Redis',
'redis' => array(
'host' => getenv('REDIS_HOST'),
'host' => ($_ENV['REDIS_PROTOCOL'] ?? 'tcp') . "://" . getenv('REDIS_HOST'),
'password' => getenv('REDIS_HOST_PASSWORD_FILE') ? trim(file_get_contents(getenv('REDIS_HOST_PASSWORD_FILE'))) : (string) getenv('REDIS_HOST_PASSWORD'),
),
);