hotfix: explicitly set DJANGO_DEBUG env, #111

This commit is contained in:
simon 2021-12-17 23:02:38 +07:00
parent 8678cdcadb
commit f36ae6c4b9
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

4
run.sh
View File

@ -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