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 (
|
$CONFIG = array (
|
||||||
"mail_smtptimeout" => 60,
|
"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: |-
|
fix.config.php: |-
|
||||||
<?php
|
<?php
|
||||||
$CONFIG = array (
|
$CONFIG = array (
|
||||||
@ -120,7 +133,9 @@ nextcloud_default_values:
|
|||||||
enabled: false
|
enabled: false
|
||||||
# Enable Redis
|
# Enable Redis
|
||||||
redis:
|
redis:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
usePassword: true
|
||||||
|
password: 'nextcloud'
|
||||||
cluster:
|
cluster:
|
||||||
enabled: false
|
enabled: false
|
||||||
## External database configuration
|
## External database configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user