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"
|
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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEPLOY = False
|
DEBUG = os.getenv('debug', 'true') == 'true'
|
||||||
DEBUG = not DEPLOY
|
|
||||||
|
|
||||||
SECURE_SSL_REDIRECT = DEPLOY
|
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["*"]
|
ALLOWED_HOSTS = ["*"]
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
PORT: $PORT
|
PORT: $PORT
|
||||||
HOST: $HOST
|
HOST: $HOST
|
||||||
|
debug: false
|
||||||
command: ./manage.py runserver 0.0.0.0:$PORT --noreload
|
command: ./manage.py runserver 0.0.0.0:$PORT --noreload
|
||||||
ports:
|
ports:
|
||||||
- "${PORT}:${PORT}"
|
- "${PORT}:${PORT}"
|
||||||
|
Loading…
Reference in New Issue
Block a user