mirror of
https://github.com/informaticker/uek-109-LBb.git
synced 2024-11-23 02:01:58 +01:00
29 lines
950 B
JavaScript
29 lines
950 B
JavaScript
|
require('dotenv').config({ path: '.env' });
|
||
|
|
||
|
module.exports = {
|
||
|
"development": {
|
||
|
"username": process.env.DB_USER || 'postgres',
|
||
|
"password": process.env.DB_PASSWORD || 'password',
|
||
|
"database": process.env.DB_NAME || 'database_development',
|
||
|
"host": process.env.DB_HOST || '127.0.0.1',
|
||
|
"dialect": "postgres",
|
||
|
"seederStorage": 'sequelize'
|
||
|
},
|
||
|
"test": {
|
||
|
"username": process.env.DB_USER || 'postgres',
|
||
|
"password": process.env.DB_PASSWORD || 'password',
|
||
|
"database": process.env.DB_NAME || 'database_test',
|
||
|
"host": process.env.DB_HOST || '127.0.0.1',
|
||
|
"dialect": "postgres",
|
||
|
"seederStorage": 'sequelize'
|
||
|
},
|
||
|
"production": {
|
||
|
"username": process.env.DB_USER || 'postgres',
|
||
|
"password": process.env.DB_PASSWORD || 'password',
|
||
|
"database": process.env.DB_NAME || 'database_production',
|
||
|
"host": process.env.DB_HOST || '127.0.0.1',
|
||
|
"dialect": "postgres"
|
||
|
},
|
||
|
"seederStorage": "sequelize"
|
||
|
}
|