59 lines
1.7 KiB
Django/Jinja
59 lines
1.7 KiB
Django/Jinja
<?php
|
|
$CONFIG = array (
|
|
'htaccess.RewriteBase' => '/',
|
|
'instanceid' => '{{ instance_id }}',
|
|
'passwordsalt' => '{{ password_salt }}',
|
|
'secret' => '{{ secret }}',
|
|
'version' => '{{ full_version }}',
|
|
'dbtype' => '{{ db_type }}',
|
|
'overwrite.cli.url' => '{{ url }}',
|
|
'overwriteprotocol' => '{{ overwrite_protocol }}',
|
|
'dbname' => '{{ db_name }}',
|
|
'dbhost' => '{{ db_host }}',
|
|
'dbport' => '{{ db_port }}',
|
|
'dbtableprefix' => 'oc_',
|
|
'dbuser' => '{{ db_user }}',
|
|
'dbpassword' => '{{ db_password }}',
|
|
'installed' => true,
|
|
'mail_from_address' => '{{ mail_from_address }}',
|
|
'mail_domain' => '{{ mail_domain }}',
|
|
'mail_smtphost' => '{{ smtp_host }}',
|
|
'mail_smtpport' => '{{ smtp_port }}',
|
|
'mail_smtpauth' => true,
|
|
'mail_smtpname' => '{{ smtp_name }}',
|
|
'mail_smtppassword' => '{{ smtp_password }}',
|
|
'maintenance' => false,
|
|
'loglevel' => 2,
|
|
'memcache.local' => '\\OC\\Memcache\\APCu',
|
|
'memcache.distributed' => '\\OC\\Memcache\\Redis',
|
|
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
|
'redis' => array(
|
|
'host' => '{{ redis_host }}',
|
|
'port' => {{ redis_port }},
|
|
),
|
|
'default_language' => 'ru',
|
|
'default_locale' => 'ru_RU',
|
|
'default_phone_region' => 'RU',
|
|
'trusted_domains' => [
|
|
{% for domain in trusted_domains %}
|
|
'{{ domain }}',
|
|
{% endfor %}
|
|
],
|
|
'config_is_read_only' => true,
|
|
'ldapUserCleanupInterval' => 0,
|
|
'auth.storeCryptedPassword' => false,
|
|
'maintenance_window_start' => 21,
|
|
'apps_paths' => array (
|
|
0 => array (
|
|
'path' => '/var/www/html/apps',
|
|
'url' => '/apps',
|
|
'writable' => false,
|
|
),
|
|
1 => array (
|
|
'path' => '/var/www/html/custom_apps',
|
|
'url' => '/custom_apps',
|
|
'writable' => true,
|
|
),
|
|
),
|
|
'upgrade.disable-web' => true,
|
|
);
|