2020-08-07 12:23:59 +02:00
|
|
|
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,
|
2020-08-13 11:40:10 +02:00
|
|
|
"logging": false,
|
2020-08-07 12:23:59 +02:00
|
|
|
"host": process.env.DB_HOST,
|
|
|
|
"dialect": "mysql"
|
|
|
|
}
|
|
|
|
};
|