25 lines
499 B
JavaScript
25 lines
499 B
JavaScript
module.exports = {
|
|
postgres: {
|
|
uri:
|
|
process.env.POSTGRES_URI ||
|
|
'postgres://admin:admin@localhost:5432/amici_scommesse',
|
|
options: {
|
|
dialect: 'postgres',
|
|
logging: process.env.NODE_ENV === 'development' ? console.log : false,
|
|
pool: {
|
|
max: 10,
|
|
min: 0,
|
|
acquire: 30000,
|
|
idle: 10000,
|
|
},
|
|
},
|
|
},
|
|
|
|
mongo: {
|
|
uri:
|
|
process.env.MONGO_URI ||
|
|
'mongodb://localhost:27017/amici-scommesse',
|
|
options: {},
|
|
},
|
|
};
|