Update 'im/settings.py.prod'

This commit is contained in:
jens 2020-08-30 11:47:37 +00:00
parent 29051a7b95
commit 1a898278ed
1 changed files with 7 additions and 7 deletions

View File

@ -20,13 +20,13 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/ # See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret! # SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '{{secret_key}}' SECRET_KEY = '{{im_secret_key}}'
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False DEBUG = False
ALLOWED_HOSTS = [ ALLOWED_HOSTS = [
{{domain}} {{im_domain}}
] ]
@ -79,11 +79,11 @@ WSGI_APPLICATION = 'im.wsgi.application'
DATABASES = { DATABASES = {
'default': { 'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', 'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '{{db_name}}', 'NAME': '{{im_db_name}}',
'USER': '{{db_user}}', 'USER': '{{im_db_user}}',
'PASSWORD': '{{db_password}}', 'PASSWORD': '{{im_db_password}}',
'HOST': '{{db_server_ip}}', 'HOST': '{{im_db_server_ip}}',
'PORT': '{{db_port}}', 'PORT': '{{im_db_port}}',
} }
} }