Files
ansible/roles/nextcloud/templates/config.php.j2
2025-02-14 20:35:06 +01:00

61 lines
1.5 KiB
Django/Jinja

<?php
$CONFIG = array (
'dbtype' => 'pgsql',
'version' => '{{ nextcloud_version }}',
'dbname' => '{{ nextcloud_pg_database }}',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => '{{ nextcloud_pg_role }}',
'dbpassword' => '{{ nextcloud_pg_password }}',
'installed' => true,
'instanceid' => '507bf5ef0f4bd',
'theme' => '',
'trusted_domains' =>
array (
0 => '{{ nextcloud_access_url }}',
),
'mail_domain' => 'libertus.eu',
'mail_from_address' => 'nextcloud',
'loglevel' => 1,
'log_type' => 'errorlog',
'secret' => '{{ nextcloud_secret }}',
'trashbin_retention_obligation' => 'auto',
'overwrite.cli.url' => 'https://{{ nextcloud_access_url }}',
'updater.release.channel' => 'stable',
'user_backends' =>
array (
0 =>
array (
'class' => '\\OCA\\UserExternal\\IMAP',
'arguments' =>
array (
0 => 'imap.libertus.eu',
1 => 993,
2 => 'ssl',
),
),
),
'objectstore' =>
array (
'class' => '\\OC\\Files\\ObjectStore\\S3',
'arguments' =>
array (
'bucket' => 'nextcloud-libertus',
'autocreate' => false,
'key' => 'GK7f69982ab6b981b3fa5ec230',
'secret' => '{{ nextcloud_objectstore_secret }}',
'hostname' => 'garage.mateu.be',
'port' => 443,
'use_ssl' => true,
'region' => 'garage',
'use_path_style' => true,
),
),
'maintenance' => false,
'passwordsalt' => '{{ nextcloud_passwordsalt }}',
'app_install_overwrite' =>
array (
0 => 'user_external',
),
);