diff --git a/skeleton/docker-entrypoint.sh b/skeleton/docker-entrypoint.sh index eff18f1..9f49658 100755 --- a/skeleton/docker-entrypoint.sh +++ b/skeleton/docker-entrypoint.sh @@ -28,6 +28,8 @@ fi [ -z ${COMPILE_MO_FILES+x} ] && export COMPILE_MO_FILES=true [ -z ${DEBUG_MODE+x} ] && export DEBUG_MODE=off [ -z ${ZOPE_FORM_MEMORY_LIMIT+x} ] && export ZOPE_FORM_MEMORY_LIMIT=4MB +[ -z ${ZOPE_FORM_DISK_LIMIT+x} ] && export ZOPE_FORM_DISK_LIMIT=1GB +[ -z ${ZOPE_FORM_MEMFILE_LIMIT+x} ] && export ZOPE_FORM_MEMFILE_LIMIT=4KB # ZODB ENV Vars diff --git a/skeleton/etc/zope.conf b/skeleton/etc/zope.conf index 5144052..3c3106a 100644 --- a/skeleton/etc/zope.conf +++ b/skeleton/etc/zope.conf @@ -12,6 +12,8 @@ default-zpublisher-encoding $(DEFAULT_ZPUBLISHER_ENCODING) form-memory-limit $(ZOPE_FORM_MEMORY_LIMIT) + form-disk-limit $(ZOPE_FORM_DISK_LIMIT) + form-memfile-limit $(ZOPE_FORM_MEMFILE_LIMIT)