We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d71d2f commit 6568dffCopy full SHA for 6568dff
configuration/configuration.py
@@ -37,6 +37,8 @@ def read_secret(secret_name):
37
# PostgreSQL password
38
'HOST': os.environ.get('DB_HOST', 'localhost'), # Database server
39
'PORT': os.environ.get('DB_PORT', ''), # Database port (leave blank for default)
40
+ 'OPTIONS': {'sslmode': os.environ.get('DB_SSLMODE', 'prefer')},
41
+ # Database connection SSLMODE
42
}
43
44
# This key is used for secure generation of random numbers and strings. It must never be exposed outside of this file.
0 commit comments