File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11SETTINGS_FILE = settings
2- DEBUG = False
32ALLOWED_HOSTS = .fachschaft.informatik.tu-darmstadt.de,.d120.de
43SECRET_KEY =
54KEYCLOAK_CLIENT_ID =
@@ -8,4 +7,4 @@ KEYCLOAK_SERVER_URL=
87EMAIL_HOST = mail.d120.de
98EMAIL_PORT = 587
109EMAIL_HOST_USER = pyfeedback
11- EMAIL_HOST_PASSWORD =
10+ EMAIL_HOST_PASSWORD =
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ services:
66 - " 8000:8000"
77 environment :
88 - SETTINGS_FILE=${SETTINGS_FILE}
9- - DEBUG=${DEBUG}
109 - ALLOWED_HOSTS=${ALLOWED_HOSTS}
1110 - SECRET_KEY=${SECRET_KEY}
1211 - KEYCLOAK_CLIENT_ID=${KEYCLOAK_CLIENT_ID}
@@ -22,4 +21,4 @@ services:
2221 - db_data:/app/db/
2322
2423volumes :
25- db_data:
24+ db_data :
Original file line number Diff line number Diff line change 11from settings import *
22import os
33
4- DEBUG = ( os . getenv ( "DEBUG" , " False" ) == "True" ) # os.getenv only returns a string
4+ DEBUG = False
55
66ALLOWED_HOSTS = os .getenv ("ALLOWED_HOSTS" ).split ("," )
77
You can’t perform that action at this time.
0 commit comments