mirror of
https://github.com/sergeyyarkov/educt-server.git
synced 2026-10-11 02:09:07 +03:00
db ssl
This commit is contained in:
parent
ef9f757c35
commit
bfd41f391a
@ -41,6 +41,9 @@ const databaseConfig: DatabaseConfig = {
|
|||||||
user: Env.get('PG_USER'),
|
user: Env.get('PG_USER'),
|
||||||
password: Env.get('PG_PASSWORD', ''),
|
password: Env.get('PG_PASSWORD', ''),
|
||||||
database: Env.get('PG_DB_NAME'),
|
database: Env.get('PG_DB_NAME'),
|
||||||
|
ssl: {
|
||||||
|
rejectUnauthorized: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
migrations: {
|
migrations: {
|
||||||
disableRollbacksInProduction: true,
|
disableRollbacksInProduction: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user