47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
<?php
|
|
$CONFIG = array (
|
|
'instanceid' => '<%= @instanceid %>',
|
|
'passwordsalt' => '<%= @passwordsalt %>',
|
|
'secret' => '<%= @secret %>',
|
|
'trusted_domains' =>
|
|
array (
|
|
<% @trusted_domains.each_with_index do | dom,idx | -%>
|
|
<%= idx %> => '<%= dom %>',
|
|
<% end -%>
|
|
),
|
|
'datadirectory' => '<%= @data_dir %>',
|
|
'overwrite.cli.url' => '<%= @ext_url %>',
|
|
'overwriteprotocol' => 'https',
|
|
|
|
# caching
|
|
'memcache.local' => '\\OC\\Memcache\\Redis',
|
|
'memcache.locking' => '\\OC\\Memcache\\Redis',
|
|
'redis' =>
|
|
array (
|
|
'host' => 'localhost',
|
|
'port' => 6379,
|
|
'timeout' => 0.0,
|
|
'password' => '<%= $redis_password %>',
|
|
),
|
|
|
|
# because we are behind a reverse proxy
|
|
'overwriteprotocol' => 'https',
|
|
|
|
# database stuff
|
|
'dbtype' => '<%= @db_type %>',
|
|
'dbname' => '<%= @db_name %>',
|
|
'dbhost' => '<%= @db_host %>',
|
|
'dbport' => '<%= @db_port %>',
|
|
'dbtableprefix' => '<%= @db_prefix %>',
|
|
'dbuser' => '<%= @db_user %>',
|
|
'dbpassword' => '<%= @db_password %>',
|
|
|
|
# to make ldap write plugin work
|
|
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
|
|
|
|
# rest
|
|
'version' => '19.0.1.1',
|
|
'installed' => true,
|
|
);
|
|
|