|
@ -103,13 +103,13 @@ WSGI_APPLICATION = 'foerderbarometer.wsgi.application' |
|
|
|
|
|
|
|
|
# Database |
|
|
# Database |
|
|
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases |
|
|
# https://docs.djangoproject.com/en/3.1/ref/settings/#databases |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DATABASES = { |
|
|
DATABASES = { |
|
|
'default': { |
|
|
'default': { |
|
|
'ENGINE': 'django.db.backends.mysql', |
|
|
'ENGINE': 'django.db.backends.mysql', |
|
|
'NAME': 'fdb', |
|
|
'NAME': 'fdb', |
|
|
'USER': 'fdb', |
|
|
'USER': 'fdb', |
|
|
'PASSWORD': get_secret(DATABASE_PASSWORD), |
|
|
|
|
|
|
|
|
'PASSWORD': get_secret(>'DATABASE_PASSWORD'), |
|
|
'HOST': '10.0.6.7', # Or an IP Address that your database is hosted on |
|
|
'HOST': '10.0.6.7', # Or an IP Address that your database is hosted on |
|
|
# 'PORT': '3306', |
|
|
# 'PORT': '3306', |
|
|
#optional: |
|
|
#optional: |
|
|