Verified Commit fa78382a authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Remove default value for DJANGO_SECRET

parent 23b79eb4
......@@ -22,6 +22,7 @@ services:
<<: *postgresvars
DJANGO_DEBUG: 'True'
DJANGO_POSTGRES_HOST: postgres
DJANGO_SECRET: 'do_not_use_in_prod'
volumes:
concrexit:
......
......@@ -24,9 +24,7 @@ BASE_DIR = os.path.abspath(os.path.join(
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get(
'DJANGO_SECRET',
'#o-0d1q5&^&06tn@8pr1f(n3$crafd++^%sacao7hj*ea@c)^t')
SECRET_KEY = os.environ.get('DJANGO_SECRET')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = os.environ.get('DJANGO_DEBUG') == 'True'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment