From f36ae6c4b97297db1c32ebe7f4922c8c9b63ac6b Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 17 Dec 2021 23:02:38 +0700 Subject: [PATCH] hotfix: explicitly set DJANGO_DEBUG env, #111 --- run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/run.sh b/run.sh index 163a554..7f25cc9 100644 --- a/run.sh +++ b/run.sh @@ -2,6 +2,10 @@ # startup script inside the container for tubearchivist # check environment +if [[ -z "$DJANGO_DEBUG" ]]; then + export DJANGO_DEBUG=False +fi + if [[ -z "$ELASTIC_USER" ]]; then export ELASTIC_USER=elastic fi