feat: Allow postgres connections that require ssl mode (#409)

Closes #261
This commit is contained in:
orbatschow
2023-03-06 13:54:52 +01:00
committed by GitHub
parent 2c66d53a08
commit 18e231fcaa
3 changed files with 30 additions and 1 deletions

View File

@@ -9,6 +9,14 @@ SECRET_KEY=notsecretkey
# TRUST_PROXY=0
# TOKEN_EXPIRES_IN=365 # In days
# related: https://github.com/knex/knex/issues/2354
# As knex does not pass query parameters from the connection string we
# have to use environment variables in order to pass the desired values, e.g.
# PGSSLMODE=<value>
# Configure knex to accept SSL certificates
# KNEX_REJECT_UNAUTHORIZED_SSL_CERTIFICATE=false
## Do not edit this
TZ=UTC