Config.js

This commit is contained in:
Senad Uka
2019-07-24 08:23:55 +02:00
parent 1fc694a6d2
commit a691ab94c7

18
config/config.js Normal file
View File

@@ -0,0 +1,18 @@
module.exports = {
development: {
username: 'docker',
password: 'docker',
database: 'CrmIntegration',
port: '5431',
dialect: 'postgres',
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
},
test: {
"use_env_variable": 'DATABASE_URL',
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
},
production: {
"use_env_variable": 'DATABASE_URL',
logging: parseInt(process.env.SEQUELIZE_LOGGING) ? console.log : false
}
};