docker: disable debug by default

This commit is contained in:
pedro 2024-10-31 11:54:41 +01:00
parent 16ba03bd0a
commit 9de7dc6647
2 changed files with 2 additions and 2 deletions

View file

@ -1,11 +1,11 @@
DOMAIN=localhost
# note that DEBUG=true make snapshot parsing more verbose
DEMO=false
STATIC_ROOT=/tmp/static/
MEDIA_ROOT=/tmp/media/
ALLOWED_HOSTS=localhost,localhost:8000,127.0.0.1,
DOMAIN=localhost
DEBUG=True
EMAIL_HOST="mail.example.org"
EMAIL_HOST_USER="fillme_noreply"
EMAIL_HOST_PASSWORD="fillme_passwd"

View file

@ -4,7 +4,7 @@ services:
build:
dockerfile: docker/devicehub-django.Dockerfile
environment:
- DEBUG=true
- DEBUG=${DEBUG:-false}
- DOMAIN=${DOMAIN:-localhost}
- ALLOWED_HOSTS=${ALLOWED_HOSTS:-$DOMAIN}
- DEMO=${DEMO:-false}