PDC password fields.
This commit is contained in:
parent
2449cf6033
commit
db2b4c8d6a
1 changed files with 9 additions and 5 deletions
|
@ -53,11 +53,15 @@ ALLOWED_HOSTS = [
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||||
'NAME': '{{ pdc_db_name }}',
|
'NAME': 'pdc',
|
||||||
'USER': '{{ pdc_db_user }}',
|
'USER': 'pdc',
|
||||||
'PASSWORD': '{{ pdc_db_pass }}',
|
{% if env == 'staging' %}
|
||||||
'HOST': '{{ pdc_db_host }}',
|
'PASSWORD': '{{ pdc_db_pass_stg }}',
|
||||||
# 'PORT': '',
|
'HOST': 'db01.stg',
|
||||||
|
{% else %}
|
||||||
|
'PASSWORD': '{{ pdc_db_pass_prod }}',
|
||||||
|
'HOST': 'db01',
|
||||||
|
{% endif %}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue