From bbf0a9a61c2f90eaab90a7b5f75c9daf813da90c Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Thu, 30 Nov 2017 19:16:11 -0500 Subject: [PATCH 1/2] 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 From 7594226c500594c3fb2c5b1f95259afa02ed421d Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Mon, 4 Dec 2017 18:49:42 -0500 Subject: [PATCH 2/2] Fix copy/paste failure --- webmails/roundcube/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webmails/roundcube/Dockerfile b/webmails/roundcube/Dockerfile index f02270ab..696c13bb 100644 --- a/webmails/roundcube/Dockerfile +++ b/webmails/roundcube/Dockerfile @@ -21,7 +21,7 @@ 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 php.ini /usr/local/etc/php/conf.d/roundcube.ini COPY config.inc.php /var/www/html/config/