Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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: {
|
||||
user: 'root',
|
||||
pass: 'root@servovio',
|
||||
authSource: 'admin',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user