core: extend postgres configuration (#5138)

Add postgres configuration options to control
TLS verification and client certificates.
This commit is contained in:
Ongy
2023-04-02 17:39:36 +02:00
committed by GitHub
parent 6192d01b7e
commit adcd11b1f8
4 changed files with 16 additions and 0 deletions

View File

@ -276,6 +276,10 @@ DATABASES = {
"USER": CONFIG.y("postgresql.user"),
"PASSWORD": CONFIG.y("postgresql.password"),
"PORT": int(CONFIG.y("postgresql.port")),
"SSLMODE": CONFIG.y("postgresql.sslmode"),
"SSLROOTCERT": CONFIG.y("postgresql.sslrootcert"),
"SSLCERT": CONFIG.y("postgresql.sslcert"),
"SSLKEY": CONFIG.y("postgresql.sslkey"),
}
}