cleanup nextcloud role
This commit is contained in:
parent
5d916e2223
commit
a1210f7406
@ -60,27 +60,6 @@ nextcloud_default_values:
|
||||
authtype: LOGIN
|
||||
name: "{{ nexcloud_mail_user | default('nextcloud') }}"
|
||||
password: "{{ nextcloud_mail_pass | default(nextcloud_mail_password) }}"
|
||||
# PHP Configuration files
|
||||
# Will be injected in /usr/local/etc/php/conf.d
|
||||
phpConfigs: {}
|
||||
# Default config files
|
||||
# IMPORTANT: Will be used only if you put extra configs, otherwise default will come from nextcloud itself
|
||||
# Default confgurations can be found here: https://github.com/nextcloud/docker/tree/master/16.0/apache/config
|
||||
defaultConfigs:
|
||||
# To protect /var/www/html/config
|
||||
.htaccess: true
|
||||
# Redis default configuration
|
||||
redis.config.php: false
|
||||
# Apache configuration for rewrite urls
|
||||
apache-pretty-urls.config.php: true
|
||||
# Define APCu as local cache
|
||||
apcu.config.php: true
|
||||
# Apps directory configs
|
||||
apps.config.php: true
|
||||
# Used for auto configure database
|
||||
autoconfig.php: true
|
||||
# SMTP default configuration
|
||||
smtp.config.php: true
|
||||
# Extra config files created in /var/www/html/config/
|
||||
# ref: https://docs.nextcloud.com/server/15/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file
|
||||
configs:
|
||||
@ -89,19 +68,6 @@ 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 (
|
||||
@ -129,8 +95,7 @@ nextcloud_default_values:
|
||||
# Enable Redis
|
||||
redis:
|
||||
enabled: true
|
||||
usePassword: true
|
||||
password: "{{ nextcloud_pass | default(nextcloud_password) | hash('md5') }}"
|
||||
usePassword: false
|
||||
cluster:
|
||||
enabled: false
|
||||
## External database configuration
|
||||
|
Loading…
Reference in New Issue
Block a user