fix nextcloud role for helm chart version 2.5.1 - set password for redis and add custom redis config
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user