Add DEBUG=true env var for verbose entrypoint.sh logs

This commit is contained in:
Leonard Jonathan Oh 2023-04-13 08:50:42 +00:00
parent 8a7cc5ced7
commit d6143d3c36
5 changed files with 12 additions and 0 deletions

View file

@ -1,6 +1,10 @@
#!/bin/sh
set -eu
DEBUG=${DEBUG:-}
if [ "$DEBUG" = 'true' ]; then
set -x
fi
UPLOAD_MAX_SIZE=${UPLOAD_MAX_SIZE:-25M}
MEMORY_LIMIT=${MEMORY_LIMIT:-128M}
SECURE_COOKIES=${SECURE_COOKIES:-true}