We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10846f5 + 5f84a07 commit cf9ace0Copy full SHA for cf9ace0
skeleton/docker-entrypoint.sh
@@ -28,6 +28,8 @@ fi
28
[ -z ${COMPILE_MO_FILES+x} ] && export COMPILE_MO_FILES=true
29
[ -z ${DEBUG_MODE+x} ] && export DEBUG_MODE=off
30
[ -z ${ZOPE_FORM_MEMORY_LIMIT+x} ] && export ZOPE_FORM_MEMORY_LIMIT=4MB
31
+[ -z ${ZOPE_FORM_DISK_LIMIT+x} ] && export ZOPE_FORM_DISK_LIMIT=1GB
32
+[ -z ${ZOPE_FORM_MEMFILE_LIMIT+x} ] && export ZOPE_FORM_MEMFILE_LIMIT=4KB
33
34
35
# ZODB ENV Vars
skeleton/etc/zope.conf
@@ -12,6 +12,8 @@ default-zpublisher-encoding $(DEFAULT_ZPUBLISHER_ENCODING)
12
13
<dos_protection>
14
form-memory-limit $(ZOPE_FORM_MEMORY_LIMIT)
15
+ form-disk-limit $(ZOPE_FORM_DISK_LIMIT)
16
+ form-memfile-limit $(ZOPE_FORM_MEMFILE_LIMIT)
17
</dos_protection>
18
19
<zodb_db main>
0 commit comments