29 lines
700 B
JavaScript
29 lines
700 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,
|
||
|
"host": process.env.DB_HOST,
|
||
|
"dialect": "mysql"
|
||
|
}
|
||
|
};
|