db.config.js 300 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const config = {
  host: 'localhost',
  username: process.env.PG_USER || 'test',
  password: process.env.PG_PASSWORD || 'test',
  database: process.env.PG_DATABASE || 'testdb',
  dialect: 'postgres',
  pool: {
    max: 10,
    min: 0,
    acquire: 30000,
    idle: 10000,
  }
}

export default config