Docker fix PHP max upload size because most SMTP servers limit 25MB

This commit is contained in:
djmaze 2020-12-02 14:58:31 +01:00
parent 3c598ef000
commit 85b79bce4c
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
date.timezone = UTC
upload_max_filesize = 1G
post_max_size = 1G
upload_max_filesize = 24M
post_max_size = 25M
# log_errors = On
# display_errors = On

View file

@ -4,7 +4,7 @@ FROM php:7.4-fpm-buster
ARG FILES_ZIP
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=50M LOG_TO_STDERR=true MEMORY_LIMIT=128M SECURE_COOKIES=true
ENV UID=991 GID=991 UPLOAD_MAX_SIZE=25M LOG_TO_STDERR=true MEMORY_LIMIT=128M SECURE_COOKIES=true
ENV fpm.pool.clear_env=false
# Install dependencies such as nginx