infrastructure/ansible/roles/pve_docker/files/nextcloud/config.php
Jake Howard b8f8548cdf
All checks were successful
/ terraform (push) Successful in 38s
/ ansible (push) Successful in 1m31s
Update nextcloud config version to 30
2024-11-03 14:27:10 +00:00

60 lines
1.7 KiB
PHP

<?php
$CONFIG = array (
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => true,
'redis' =>
array (
'host' => 'redis',
'port' => 6379,
'timeout' => 0.0,
),
'datadirectory' => '/data',
'instanceid' => '{{ nextcloud.instance_id }}',
'passwordsalt' => '{{ nextcloud.passwordsalt }}',
'secret' => '{{ nextcloud.secret }}',
'trusted_domains' =>
array (
0 => 'intersect.jakehoward.tech',
),
'dbtype' => 'mysql',
'version' => '30.0.1.2',
'overwrite.cli.url' => 'https://intersect.jakehoward.tech',
'dbname' => 'nextcloud',
'dbhost' => 'mariadb',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'nextcloud',
'installed' => true,
'trusted_proxies' =>
array (
0 => '172.17.0.1',
),
'maintenance' => false,
'theme' => '',
'loglevel' => 0,
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'has_rebuilt_cache' => true,
'logfile' => '/config/log/nextcloud.log',
'default_phone_region' => 'GB',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => '{{ nextcloud.email_from_user }}',
'mail_domain' => '{{ nextcloud.email_from_domain }}',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.eu.mailgun.org',
'mail_smtpname' => '{{ nextcloud.email_username }}',
'mail_smtppassword' => '{{ nextcloud.email_password }}',
'mail_smtpport' => '465',
'upgrade.disable-web' => true,
# Allow Nextcloud to talk to Authentik
'allow_local_remote_servers' => true,
'maintenance_window_start' => 18,
);