mirror of
https://gitlab.com/alemaire/buildx.git
synced 2025-01-10 18:43:29 +00:00
Update docker-entrypoint.sh
This commit is contained in:
parent
3a3fdc6e55
commit
93bb6732f3
@ -70,6 +70,10 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||
: "${ROUNDCUBEMAIL_PLUGINS:=archive,zipdownload}"
|
||||
: "${ROUNDCUBEMAIL_SKIN:=larry}"
|
||||
: "${ROUNDCUBEMAIL_TEMP_DIR:=/tmp/roundcube-temp}"
|
||||
: "${ROUNDCUBEMAIL_IMAP_CACHE_TTL:7d}"
|
||||
: "${ROUNDCUBEMAIL_MESSAGES_CACHE_TTL:3m}"
|
||||
: "${ROUNDCUBEMAIL_MESSAGES_CACHE_TRESHOLD:3mb}"
|
||||
|
||||
|
||||
if [ ! -e config/config.inc.php ]; then
|
||||
ROUNDCUBEMAIL_DES_KEY=`head /dev/urandom | base64 | head -c 24`
|
||||
@ -100,6 +104,11 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
|
||||
\$config['temp_dir'] = '${ROUNDCUBEMAIL_TEMP_DIR}';
|
||||
\$config['skin'] = '${ROUNDCUBEMAIL_SKIN}';
|
||||
\$config['plugins'] = array_filter(array_unique(array_merge(\$config['plugins'], ['${ROUNDCUBEMAIL_PLUGINS_PHP}'])));
|
||||
\$config['imap_cache'] = 'db';
|
||||
\$config['imap_cache_ttl'] = '${ROUNDCUBEMAIL_IMAP_CACHE_TTL}';
|
||||
\$config['messages_cache'] = 'db';
|
||||
\$config['messages_cache_threshold'] = '${ROUNDCUBEMAIL_MESSAGES_CACHE_THRESHOLD}';
|
||||
\$config['messages_cache_ttl'] = '${ROUNDCUBEMAIL_MESSAGES_CACHE_TTL}';
|
||||
" > config/config.docker.inc.php
|
||||
|
||||
if [ -e /run/secrets/roundcube_des_key ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user