`ROUNDCUBEMAIL_SMTP_PORT` - SMTP port number; defaults to `587`
+`ROUNDCUBEMAIL_REQUEST_PATH` - Specify request path with reverse proxy; defaults to `/`
+
`ROUNDCUBEMAIL_PLUGINS` - List of built-in plugins to activate. Defaults to `archive,zipdownload`
`ROUNDCUBEMAIL_SKIN` - Configures the default theme. Defaults to `larry`
: "${ROUNDCUBEMAIL_PLUGINS:=archive,zipdownload}"
: "${ROUNDCUBEMAIL_SKIN:=elastic}"
: "${ROUNDCUBEMAIL_TEMP_DIR:=/tmp/roundcube-temp}"
+ : "${ROUNDCUBEMAIL_REQUEST_PATH:=/}"
if [ ! -e config/config.inc.php ]; then
GENERATED_DES_KEY=`head /dev/urandom | base64 | head -c 24`
\$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}';
\$config['skin'] = '${ROUNDCUBEMAIL_SKIN}';
\$config['plugins'] = array_filter(array_unique(array_merge(\$config['plugins'], ['${ROUNDCUBEMAIL_PLUGINS_PHP}'])));
+ \$config['request_path'] = '${ROUNDCUBEMAIL_REQUEST_PATH}';
" > config/config.docker.inc.php
if [ -e /run/secrets/roundcube_des_key ]; then