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

57 lines
1.3 KiB
Cheetah
Raw Normal View History

2016-08-31 12:55:12 +00:00
<?php
$CONFIG = array(
'trusted_domains' =>
array (
'{{getenv "DOMAIN"}}'
),
2016-08-31 13:10:58 +00:00
2016-08-31 12:55:12 +00:00
'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,
2016-08-31 12:56:25 +00:00
'version' => '10.0.0.0',
2016-08-31 12:55:12 +00:00
);