mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 08:51:37 +01:00
add: nextcloud php config
This commit is contained in:
43
roles/nextcloud/templates/nextcloud-config.php
Normal file
43
roles/nextcloud/templates/nextcloud-config.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
$CONFIG = array (
|
||||
'instanceid' => '{{ nextcloud_instance_id }}',
|
||||
'passwordsalt' => '{{ nextcloud_password_salt }}',
|
||||
'secret' => '{{ nextcloud_instance_secret }}',
|
||||
'trusted_domains' =>
|
||||
array (
|
||||
0 => '{{ nextcloud_master_domain }}',
|
||||
),
|
||||
'datadirectory' => '/var/www/nextcloud/data',
|
||||
'dbtype' => 'pgsql',
|
||||
'version' => '30.0.4.1',
|
||||
'overwrite.cli.url' => 'https://{{ nextcloud_master_domain }}',
|
||||
'dbname' => 'nextcloud',
|
||||
'dbhost' => 'localhost',
|
||||
'dbport' => '',
|
||||
'dbtableprefix' => 'oc_',
|
||||
'dbuser' => 'nextcloud',
|
||||
'dbpassword' => '{{ nextcloud_db_password }}',
|
||||
'installed' => true,
|
||||
'mail_domain' => '{{ smtp_user_domain }}',
|
||||
'mail_from_address' => 'noreply',
|
||||
'mail_smtpmode' => 'smtp',
|
||||
'mail_sendmailmode' => 'smtp',
|
||||
'mail_smtphost' => '{{ smtp_internal_host }}',
|
||||
'mail_smtpport' => '{{ smtp_internal_host_port }}',
|
||||
'default_phone_region' => 'DE',
|
||||
'app_install_overwrite' =>
|
||||
array (
|
||||
0 => 'twofactor_rcdevsopenotp',
|
||||
1 => 'calendar',
|
||||
),
|
||||
'maintenance' => false,
|
||||
'theme' => '',
|
||||
'loglevel' => 0,
|
||||
'encryption.legacy_format_support' => false,
|
||||
'encryption.key_storage_migrated' => false,
|
||||
'mail_smtpauth' => 1,
|
||||
'mail_smtpname' => '{{ smtp_service_user }}@{{ smtp_user_domain }}',
|
||||
'mail_smtppassword' => '{{ smtp_service_pass }}',
|
||||
'maintenance_window_start' => 100,
|
||||
'memcache.local' => '\OC\Memcache\APCu',
|
||||
);
|
||||
Reference in New Issue
Block a user