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

export default config