Ignore Postgres SSL errors on Heroku

The connection to Heroku's Postgres instances must use SSL,
 but not check the certificate.

 This adds the necessary configuration to the Heroku setup script.

Fixes #1245

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-05-07 21:42:49 +02:00
parent 3e836d815b
commit 86be1243f8
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -6,6 +6,16 @@ cat << EOF > config.json
{ {
"production": { "production": {
"db": {
"dialect": "postgres",
"protocol": "postgres",
"dialectOptions": {
"ssl": {
"require": true,
"rejectUnauthorized": false
}
}
}
} }
} }