15 lines
396 B
JavaScript
15 lines
396 B
JavaScript
|
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
|