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

56 lines
1.8 KiB
Cheetah
Raw Permalink 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"}}';
2019-06-21 10:42:33 +00:00
$config['log_driver'] = 'stdout';
2016-07-13 15:07:43 +00:00
2019-06-21 10:05:50 +00:00
$config['skin'] = 'elastic';
2022-09-10 16:18:22 +00:00
$config['imap_host'] = '{{getenv "IMAP_HOST" "tls://%n"}}';
2016-07-13 15:55:52 +00:00
$config['imap_conn_options'] = array(
'ssl' => array(
2017-10-06 15:59:45 +00:00
'verify_peer' => true,
'verify_peer_name' => true,
2016-07-13 15:55:52 +00:00
),
);
2016-07-13 15:07:43 +00:00
$config['request_path'] = 'SCRIPT_NAME';
2022-09-10 16:18:22 +00:00
$config['smtp_host'] = '{{getenv "SMTP_HOST" "tls://%n"}}:{{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(
2017-10-06 15:59:45 +00:00
'verify_peer' => true,
'verify_peer_name' => true,
2016-07-13 15:55:52 +00:00
),
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';
2024-04-26 20:08:57 +00:00
$config['plugins'] = array('archive', 'managesieve', 'zipdownload');
2016-07-13 15:07:43 +00:00
$config['spellcheck_engine'] = 'pspell';
$config['default_charset'] = 'UTF-8';
2022-03-14 09:02:16 +00:00
$config['oauth_provider'] = 'generic';
$config['oauth_provider_name'] = '{{getenv "OAUTH_PROVIDER_NAME"}}';
$config['oauth_client_id'] = '{{getenv "OAUTH_CLIENT_ID"}}';
$config['oauth_client_secret'] = '{{getenv "OAUTH_CLIENT_SECRET"}}';
$config['oauth_auth_uri'] = '{{getenv "OAUTH_AUTH_URI"}}';
$config['oauth_token_uri'] = '{{getenv "OAUTH_TOKEN_URI"}}';
$config['oauth_identity_uri'] = '{{getenv "OAUTH_IDENTITY_URI"}}';
$config['oauth_scope'] = 'email profile openid';
$config['oauth_auth_parameters'] = [];
$config['oauth_identity_fields'] = ['preferred_username'];
$config['oauth_login_redirect'] = true;
2024-04-26 20:08:57 +00:00
$config['managesieve_host'] = '{{getenv "MANAGESIEVE_HOST"}}';