Add DB_OPTIONS to enable DBs with SSL
This commit is contained in:
parent
b6b505c361
commit
a44f72a030
@ -175,6 +175,7 @@ WSGI_APPLICATION = 'recipes.wsgi.application'
|
|||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': os.getenv('DB_ENGINE') if os.getenv('DB_ENGINE') else 'django.db.backends.sqlite3',
|
'ENGINE': os.getenv('DB_ENGINE') if os.getenv('DB_ENGINE') else 'django.db.backends.sqlite3',
|
||||||
|
'OPTIONS': os.getenv('DB_OPTIONS') if os.getenv('DB_OPTIONS') else [],
|
||||||
'HOST': os.getenv('POSTGRES_HOST'),
|
'HOST': os.getenv('POSTGRES_HOST'),
|
||||||
'PORT': os.getenv('POSTGRES_PORT'),
|
'PORT': os.getenv('POSTGRES_PORT'),
|
||||||
'USER': os.getenv('POSTGRES_USER'),
|
'USER': os.getenv('POSTGRES_USER'),
|
||||||
|
Loading…
Reference in New Issue
Block a user