nextcloud/rootfs/etc/confd/templates/config.php.tmpl
2017-06-15 11:46:12 +02:00

58 lines
1.4 KiB
Cheetah

<?php
$CONFIG = array(
'trusted_domains' =>
array (
'{{getenv "DOMAIN"}}'
),
'datadirectory' => '/var/lib/nextcloud/data',
'dbtype' => 'pgsql',
'dbhost' => '{{getenv "DB_HOST"}}',
'dbname' => '{{getenv "DB_NAME"}}',
'dbuser' => '{{getenv "DB_USER"}}',
'dbpassword' => '{{getenv "DB_PASSWORD"}}',
'dbtableprefix' => '{{getenv "DB_TABLE_PREFIX"}}',
'skeletondirectory' => '',
'mail_domain' => '{{getenv "MAIL_DOMAIN"}}',
'mail_from_address' => '{{getenv "MAIL_FROM"}}',
'mail_smtpdebug' => false,
'mail_smtpmode' => 'smtp',
'mail_smtphost' => '{{getenv "MAIL_SMTP_HOST"}}',
'mail_smtpport' => {{getenv "MAILSMTPPORT" "587"}},
'mail_smtptimeout' => 10,
'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"}}',
'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',
'mount_file' => '/var/lib/nextcloud/data/mount.json',
'installed' => true,
'version' => '12.0.0.29',
);