homelab/roles/nextcloud/templates/config.php.j2

64 lines
1.8 KiB
Text
Raw Normal View History

2024-10-23 13:51:59 +05:00
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'instanceid' => '{{ instance_id }}',
'passwordsalt' => '{{ password_salt }}',
'secret' => '{{ secret }}',
2024-11-02 19:25:05 +05:00
'version' => '{{ version }}',
2024-10-23 13:51:59 +05:00
'dbtype' => '{{ db_type }}',
'overwrite.cli.url' => '{{ url }}',
'overwriteprotocol' => '{{ overwrite_protocol }}',
'dbname' => '{{ db_name }}',
'dbhost' => '{{ db_host }}',
'dbport' => '{{ db_port }}',
'dbtableprefix' => 'oc_',
'dbuser' => '{{ db_user }}',
'dbpassword' => '{{ db_password }}',
'installed' => true,
'mail_from_address' => '{{ mail_from_address }}',
'mail_domain' => '{{ mail_domain }}',
'mail_smtphost' => '{{ smtp_host }}',
'mail_smtpport' => '{{ smtp_port }}',
'mail_smtpauth' => true,
'mail_smtpname' => '{{ smtp_name }}',
'mail_smtppassword' => '{{ smtp_password }}',
'maintenance' => false,
'loglevel' => 2,
'log_type' => 'errorlog',
2024-10-23 13:51:59 +05:00
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' => array(
'host' => '{{ redis_host }}',
'port' => {{ redis_port }},
),
'default_language' => 'ru',
'default_locale' => 'ru_RU',
'default_phone_region' => 'RU',
'trusted_domains' => [
{% for domain in trusted_domains %}
'{{ domain }}',
{% endfor %}
],
'trusted_proxies' => [
'172.24.0.0/16',
],
2024-10-23 13:51:59 +05:00
'config_is_read_only' => true,
'ldapUserCleanupInterval' => 0,
'auth.storeCryptedPassword' => false,
'maintenance_window_start' => 21,
'apps_paths' => array (
0 => array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 => array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'upgrade.disable-web' => true,
);