add path to ssl rootcert for postgres connections

This commit is contained in:
Robert Kaussow 2019-01-19 15:37:45 +01:00
parent b72bbe87d1
commit 8182009a14
2 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,7 @@ matrix_https_bind_port: 8448
matrix_postgres_enabled: False
matrix_postgres_ssl_mode: disable
matrix_postgres_ssl_root_cert: /etc/pki/tls/certs/ca-bundle.trust.crt
matrix_postgres_server: postgres.example.com
matrix_postgres_port: 5432
matrix_postgres_superuser: postgres

View File

@ -218,6 +218,7 @@ database:
host: {{ matrix_postgres_server }}
port: {{ matrix_postgres_port }}
sslmode: {{ matrix_postgres_ssl_mode }}
sslrootcert: {{ matrix_postgres_ssl_root_cert }}
cp_min: 5
cp_max: 10
{% else %}