roundcube/rootfs/etc/confd/templates/config.inc.php.tmpl

41 lines
1.2 KiB
Cheetah
Raw Normal View History

2016-07-13 15:07:43 +00:00
<?php
$config = array();
2016-10-28 13:35:43 +00:00
$config['db_dsnw'] = 'pgsql://{{getenv "DB_USER"}}:{{getenv "DB_PASSWORD"}}@{{getenv "DB_HOST"}}/{{getenv "DB_NAME"}}';
2016-07-13 15:07:43 +00:00
$config['log_driver'] = 'syslog';
2016-08-24 09:32:57 +00:00
$config['syslog_facility'] = LOG_USER;
2016-07-13 15:07:43 +00:00
2016-10-28 13:35:43 +00:00
$config['default_host'] = '{{getenv "IMAP_HOST" "tls://%n"}}';
2016-07-13 15:55:52 +00:00
$config['imap_conn_options'] = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
);
2016-07-13 15:07:43 +00:00
2016-10-28 13:35:43 +00:00
$config['smtp_server'] = '{{getenv "SMTP_HOST" "tls://%n"}}';
$config['smtp_port'] = {{getenv "SMTP_PORT" "587"}};
2016-07-13 15:07:43 +00:00
$config['smtp_user'] = '%u';
$config['smtp_pass'] = '%p';
2016-10-28 13:35:43 +00:00
/*$config['smtp_conn_options'] = array(
2016-07-13 15:55:52 +00:00
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
),
2016-10-28 13:35:43 +00:00
);*/
2016-07-13 15:07:43 +00:00
$config['use_https'] = true;
2016-10-28 13:35:43 +00:00
$config['des_key'] = '{{getenv "SECRET_KEY"}}';
$config['cipher_method'] = '{{getenv "CIPHER_METHOD" "AES-256-CBC"}}';
2016-07-13 15:07:43 +00:00
$config['mail_domain'] = '%t';
2016-07-18 10:39:48 +00:00
$config['username_domain'] = '%d';
2016-07-14 08:43:33 +00:00
$config['username_domain_forced'] = true;
2016-07-13 15:07:43 +00:00
$config['password_charset'] = 'UTF-8';
2016-08-24 12:22:25 +00:00
$config['plugins'] = array('password', 'archive', 'zipdownload');
2016-07-13 15:07:43 +00:00
$config['spellcheck_engine'] = 'pspell';
$config['default_charset'] = 'UTF-8';