30 lines
726 B
JavaScript
30 lines
726 B
JavaScript
require('dotenv').config();
|
|
|
|
module.exports =
|
|
{
|
|
"development":
|
|
{
|
|
"username": process.env.DB_USER,
|
|
"password": process.env.DB_PASS,
|
|
"database": process.env.DB_NAME,
|
|
"host": process.env.DB_HOST,
|
|
"dialect": "mysql"
|
|
},
|
|
"test":
|
|
{
|
|
"username": process.env.DB_USER,
|
|
"password": process.env.DB_PASS,
|
|
"database": process.env.DB_NAME,
|
|
"host": process.env.DB_HOST,
|
|
"dialect": "mysql"
|
|
},
|
|
"production":
|
|
{
|
|
"username": process.env.DB_USER,
|
|
"password": process.env.DB_PASS,
|
|
"database": process.env.DB_NAME,
|
|
"logging": false,
|
|
"host": process.env.DB_HOST,
|
|
"dialect": "mysql"
|
|
}
|
|
}; |