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

export default config