From: Thomas Bruederli Date: Sun, 16 Jan 2022 21:24:56 +0000 (+0100) Subject: Add new config options imap_host and smtp_host for git master changes X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=4999a300e6a2de0940e1bd73e350864b290ce8f9;p=roundcube-roundcubemail-docker.git Add new config options imap_host and smtp_host for git master changes fixes #165 #166 --- diff --git a/nightly/docker-entrypoint.sh b/nightly/docker-entrypoint.sh index 89fa670..7500969 100755 --- a/nightly/docker-entrypoint.sh +++ b/nightly/docker-entrypoint.sh @@ -95,8 +95,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then \$config['db_dsnr'] = '${ROUNDCUBEMAIL_DSNR}'; \$config['default_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}'; \$config['default_port'] = '${ROUNDCUBEMAIL_DEFAULT_PORT}'; + \$config['imap_host'] = '${ROUNDCUBEMAIL_DEFAULT_HOST}:${ROUNDCUBEMAIL_DEFAULT_PORT}'; \$config['smtp_server'] = '${ROUNDCUBEMAIL_SMTP_SERVER}'; \$config['smtp_port'] = '${ROUNDCUBEMAIL_SMTP_PORT}'; + \$config['smtp_host'] = '${ROUNDCUBEMAIL_SMTP_SERVER}:${ROUNDCUBEMAIL_SMTP_PORT}'; \$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}'; \$config['skin'] = '${ROUNDCUBEMAIL_SKIN}'; \$config['plugins'] = array_filter(array_unique(array_merge(\$config['plugins'], ['${ROUNDCUBEMAIL_PLUGINS_PHP}'])));