nextcloud/rootfs/etc/confd/templates/config.php.tmpl

57 lines
1.3 KiB
Cheetah

<?php
$CONFIG = array(
'trusted_domains' =>
array (
'{{getenv "DOMAIN"}}'
),
'datadirectory' => '/var/lib/nextcloud/data',
'dbtype' => 'pgsql',
'dbhost' => '{{getenv "DBHOST"}}',
'dbname' => '{{getenv "DBNAME"}}',
'dbuser' => '{{getenv "DBUSER"}}',
'dbpassword' => '{{getenv "DBPASSWORD"}}',
'dbtableprefix' => '{{getenv "DBTABLEPREFIX"}}',
'skeletondirectory' => '',
'mail_domain' => '{{getenv "MAILDOMAIN"}}',
'mail_from_address' => '{{getenv "MAILFROM"}}',
'mail_smtpdebug' => false,
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '{{getenv "MAILSMTPHOST"}}',
'mail_smtpport' => {{getenv "MAILSMTPPORT"}},
'mail_smtptimeout' => 10,
'mail_smtpsecure' => '{{getenv "MAILSMTPSECURITY"}}',
'mail_smtpauth' => {{getenv "MAILSMTPAUTH"}},
'mail_smtpauthtype' => '{{getenv "MAILSMTPAUTHTYPE"}}',
'mail_smtpname' => '{{getenv "MAILSMTPNAME"}}',
'mail_smtppassword' => '{{getenv "MAILSMTPPASSWORD"}}',
'overwritehost' => '{{getenv "DOMAIN"}}',
'overwriteprotocol' => 'https',
'overwritewebroot' => '',
'overwrite.cli.url' => 'https://{{getenv "DOMAIN"}}',
'apps_paths' => array(
array(
'path'=> '/var/lib/nextcloud/apps',
'url' => '/apps',
'writable' => true,
),
),
'supportedDatabases' => array(
'pgsql',
),
'memcache.local' => '\OC\Memcache\APCu',
'assetdirectory' => '/var/lib/nextcloud',
'installed' => true,
'version' => '10.0.0.0',
);