diff --git a/config/config.js b/config/config.js new file mode 100644 index 0000000..3bb20d6 --- /dev/null +++ b/config/config.js @@ -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 + } +};