From bbf0a9a61c2f90eaab90a7b5f75c9daf813da90c Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Thu, 30 Nov 2017 19:16:11 -0500 Subject: [PATCH] This sets the max attachment size in roundcube I used the php.ini from the rainloop folder, so they are both set to 25MB. --- webmails/roundcube/Dockerfile | 2 ++ webmails/roundcube/php.ini | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 webmails/roundcube/php.ini diff --git a/webmails/roundcube/Dockerfile b/webmails/roundcube/Dockerfile index f96b91d9..f02270ab 100644 --- a/webmails/roundcube/Dockerfile +++ b/webmails/roundcube/Dockerfile @@ -21,6 +21,8 @@ RUN rm -rf /var/www/html/ \ && rm -rf CHANGELOG INSTALL LICENSE README.md UPGRADING composer.json-dist installer \ && chown -R www-data: logs +COPY php.ini /usr/local/etc/php/conf.d/rainloop.ini + COPY config.inc.php /var/www/html/config/ COPY start.sh /start.sh diff --git a/webmails/roundcube/php.ini b/webmails/roundcube/php.ini new file mode 100644 index 00000000..9b241b46 --- /dev/null +++ b/webmails/roundcube/php.ini @@ -0,0 +1,3 @@ +date.timezone=UTC +upload_max_filesize = 25M +post_max_size = 25M