db.config.js 361 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
    dialect: 'postgres',
Kim, Subin's avatar
Kim, Subin committed
7
    timezone: '+09:00',
Kim, Subin's avatar
Kim, Subin committed
8
9
10
11
12
13
14
15
16
    pool: {
        max: 10,
        min: 0,
        acquire: 30000,
        idle: 10000,
    }
}

export default config