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.

42 lines
964 B

/*
* This file was automatically generated by the Flitter framework.
*/
const database_config = {
/*
* The name of the database.
*/
name: env('DATABASE_NAME', 'flitter'),
/*
* The hostname of the database server.
* Should be fully-qualified or resolvable.
*/
host: env('DATABASE_HOST', 'localhost'),
/*
* MongoDB port on the database host.
*/
// port: env('DATABASE_PORT', 27017),
port: env('DATABASE_PORT', 27017),
protocol: env('DATABASE_PROTOCOL', 'mongodb'),
connect_flags: env('DATABASE_FLAGS', '?authSource=admin'),
auth: {
/*
* Boolean true if the database connection requires auth.
*/
require: 'true', // env('DATABASE_AUTH', false),
/*
* MongoDB username and password.
*/
username: env('DATABASE_USERNAME', ''),
password: env('DATABASE_PASSWORD', ''),
},
}
module.exports = database_config