mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 16:37:02 +03:00
Docker fix PHP max upload size because most SMTP servers limit 25MB
This commit is contained in:
parent
3c598ef000
commit
85b79bce4c
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
date.timezone = UTC
|
date.timezone = UTC
|
||||||
upload_max_filesize = 1G
|
upload_max_filesize = 24M
|
||||||
post_max_size = 1G
|
post_max_size = 25M
|
||||||
|
|
||||||
# log_errors = On
|
# log_errors = On
|
||||||
# display_errors = On
|
# display_errors = On
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ FROM php:7.4-fpm-buster
|
||||||
ARG FILES_ZIP
|
ARG FILES_ZIP
|
||||||
LABEL org.label-schema.description="SnappyMail webmail client image using nginx, php-fpm based on Debian Buster"
|
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
|
ENV fpm.pool.clear_env=false
|
||||||
|
|
||||||
# Install dependencies such as nginx
|
# Install dependencies such as nginx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue