fix nextcloud role for helm chart version 2.5.1 - set password for redis and add custom redis config
This commit is contained in:
parent
8b1326e429
commit
c9ec5c7dbf
@ -94,6 +94,19 @@ nextcloud_default_values:
|
||||
$CONFIG = array (
|
||||
"mail_smtptimeout" => 60,
|
||||
);
|
||||
fix.redis.config.php: |-
|
||||
<?php
|
||||
if (getenv('REDIS_HOST')) {
|
||||
$CONFIG = array (
|
||||
'memcache.distributed' => '\OC\Memcache\Redis',
|
||||
'memcache.locking' => '\OC\Memcache\Redis',
|
||||
'redis' => array(
|
||||
'host' => getenv('REDIS_HOST'),
|
||||
'port' => getenv('REDIS_HOST_PORT') ?: 6379,
|
||||
'password' => getenv('REDIS_HOST_PASSWORD'),
|
||||
),
|
||||
);
|
||||
}
|
||||
fix.config.php: |-
|
||||
<?php
|
||||
$CONFIG = array (
|
||||
@ -120,7 +133,9 @@ nextcloud_default_values:
|
||||
enabled: false
|
||||
# Enable Redis
|
||||
redis:
|
||||
enabled: false
|
||||
enabled: true
|
||||
usePassword: true
|
||||
password: 'nextcloud'
|
||||
cluster:
|
||||
enabled: false
|
||||
## External database configuration
|
||||
|
Loading…
Reference in New Issue
Block a user