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

58 lines
1.4 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',
2016-11-01 13:41:29 +00:00
'dbhost' => '{{getenv "DB_HOST"}}',
'dbname' => '{{getenv "DB_NAME"}}',
'dbuser' => '{{getenv "DB_USER"}}',
'dbpassword' => '{{getenv "DB_PASSWORD"}}',
'dbtableprefix' => '{{getenv "DB_TABLE_PREFIX"}}',
2016-08-31 12:55:12 +00:00
'skeletondirectory' => '',
2016-11-01 13:41:29 +00:00
'mail_domain' => '{{getenv "MAIL_DOMAIN"}}',
'mail_from_address' => '{{getenv "MAIL_FROM"}}',
2016-08-31 12:55:12 +00:00
'mail_smtpdebug' => false,
'mail_smtpmode' => 'smtp',
2016-11-01 13:41:29 +00:00
'mail_smtphost' => '{{getenv "MAIL_SMTP_HOST"}}',
'mail_smtpport' => {{getenv "MAILSMTPPORT" "587"}},
2016-08-31 12:55:12 +00:00
'mail_smtptimeout' => 10,
2016-11-01 13:41:29 +00:00
'mail_smtpsecure' => '{{getenv "MAIL_SMTP_SECURITY" "tls"}}',
'mail_smtpauth' => {{getenv "MAIL_SMTP_AUTH" "true"}},
'mail_smtpauthtype' => '{{getenv "MAIL_SMTP_AUTH_TYPE" "PLAIN"}}',
'mail_smtpname' => '{{getenv "MAIL_SMTP_NAME"}}',
'mail_smtppassword' => '{{getenv "MAIL_SMTP_PASSWORD"}}',
2016-08-31 12:55:12 +00:00
'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',
2016-11-01 13:41:29 +00:00
'mount_file' => '/var/lib/nextcloud/data/mount.json',
2016-08-31 12:55:12 +00:00
'installed' => true,
2017-01-30 12:42:04 +00:00
'version' => '11.0.1.2',
2016-08-31 12:55:12 +00:00
);