Set the maximum upload size for rainloop

master
kaiyou 8 years ago
parent caf0ba4747
commit 5a2eddbce1

@ -5,8 +5,6 @@ RUN apt-get update && apt-get install -y \
ENV RAINLOOP_URL https://github.com/RainLoop/rainloop-webmail/releases/download/v1.10.3.151/rainloop-community-1.10.3.151-aa8d0c41baec166a35bb9855ee3d07b9.zip
RUN echo date.timezone=UTC > /usr/local/etc/php/conf.d/timezone.ini
RUN rm -rf /var/www/html/ \
&& mkdir -p /var/www/html/webmail \
&& cd /var/www/html/webmail \
@ -19,6 +17,7 @@ RUN rm -rf /var/www/html/ \
&& chown -R www-data: *
COPY include.php /var/www/html/webmail/include.php
COPY php.ini /usr/local/etc/php/conf.d/rainloop.ini
COPY config.ini /config.ini
COPY default.ini /default.ini

@ -1,5 +1,8 @@
; RainLoop Webmail configuration file
[webmail]
attachment_size_limit = 25
[security]
allow_admin_panel = Off

@ -0,0 +1,3 @@
date.timezone=UTC
upload_max_filesize = 25M
post_max_size = 25M
Loading…
Cancel
Save