You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
396 B
15 lines
396 B
5 years ago
|
const database_config = {
|
||
|
|
||
|
name: process.env.DATABASE_NAME || 'feather',
|
||
|
host: process.env.DATABASE_HOST || 'localhost',
|
||
|
port: process.env.DATABASE_PORT || '27017',
|
||
|
|
||
|
auth: {
|
||
|
require: process.env.DATABASE_AUTH || false,
|
||
|
username: process.env.DATABASE_USERNAME || '',
|
||
|
password: process.env.DATABASE_PASSWORD || '',
|
||
|
},
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports = database_config
|