debug false
This commit is contained in:
parent
c8882387e0
commit
68029a4048
@ -29,10 +29,8 @@ HOST = os.getenv("HOST", "77.246.159.65")
|
||||
SECRET_KEY = "-w#*mn6*fa8a=(-c0@klx&$vl%hpiy&l(u*3%0a#2)wdt##(z2"
|
||||
|
||||
# SECURITY WARNING: don't run with debug turned on in production!
|
||||
DEPLOY = False
|
||||
DEBUG = not DEPLOY
|
||||
DEBUG = os.getenv('debug', 'true') == 'true'
|
||||
|
||||
SECURE_SSL_REDIRECT = DEPLOY
|
||||
|
||||
ALLOWED_HOSTS = ["*"]
|
||||
|
||||
|
@ -29,6 +29,7 @@ services:
|
||||
environment:
|
||||
PORT: $PORT
|
||||
HOST: $HOST
|
||||
debug: false
|
||||
command: ./manage.py runserver 0.0.0.0:$PORT --noreload
|
||||
ports:
|
||||
- "${PORT}:${PORT}"
|
||||
|
Loading…
Reference in New Issue
Block a user