infrastructure/ansible/roles/pve_docker/files/nextcloud/config.php

61 lines
1.7 KiB
PHP
Raw Normal View History

<?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',
2024-06-17 09:35:51 +01:00
'version' => '29.0.2.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' => '',
2022-11-07 09:03:40 +00:00
'loglevel' => 0,
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'has_rebuilt_cache' => true,
'logfile' => '/config/log/nextcloud.log',
2021-03-06 11:19:11 +00:00
'default_phone_region' => 'GB',
2022-10-26 14:23:08 +01:00
'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',
2023-12-04 09:39:14 +00:00
'upgrade.disable-web' => true,
# Allow Nextcloud to talk to Authentik
'allow_local_remote_servers' => true,
2024-02-21 21:57:03 +00:00
'maintenance_window_start' => 18,
);