mirror of
https://github.com/plankanban/planka.git
synced 2025-07-25 08:09:44 +02:00
feat: Allow postgres connections that require ssl mode (#404)
Closes #261
This commit is contained in:
parent
7e2b74627c
commit
eea57ff121
3 changed files with 16 additions and 1 deletions
|
@ -8,7 +8,12 @@ dotenv.config({
|
|||
|
||||
module.exports = {
|
||||
client: 'pg',
|
||||
connection: process.env.DATABASE_URL,
|
||||
connection: {
|
||||
connectionString: process.env.DATABASE_URL,
|
||||
ssl: {
|
||||
rejectUnauthorized: false,
|
||||
},
|
||||
},
|
||||
migrations: {
|
||||
tableName: 'migration',
|
||||
directory: path.join(__dirname, 'migrations'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue