Skip to content

Commit bacbdb8

Browse files
committed
minor change
1 parent 3754db6 commit bacbdb8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.env

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
SETTINGS_FILE=settings
2-
DEBUG=False
32
ALLOWED_HOSTS=.fachschaft.informatik.tu-darmstadt.de,.d120.de
43
SECRET_KEY=
54
KEYCLOAK_CLIENT_ID=
@@ -8,4 +7,4 @@ KEYCLOAK_SERVER_URL=
87
EMAIL_HOST=mail.d120.de
98
EMAIL_PORT=587
109
EMAIL_HOST_USER=pyfeedback
11-
EMAIL_HOST_PASSWORD=
10+
EMAIL_HOST_PASSWORD=

docker-compose.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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

2423
volumes:
25-
db_data:
24+
db_data:

src/settings_production.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from settings import *
22
import os
33

4-
DEBUG = (os.getenv("DEBUG", "False") == "True") # os.getenv only returns a string
4+
DEBUG = False
55

66
ALLOWED_HOSTS = os.getenv("ALLOWED_HOSTS").split(",")
77

0 commit comments

Comments
 (0)