Add .env template for shared development db

This commit is contained in:
2020-11-04 19:18:41 -06:00
parent 127a738e85
commit b2574bb195
4 changed files with 13 additions and 9 deletions

View File

@@ -14,14 +14,18 @@ const database_config = {
/*
* 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: env('DATABASE_AUTH', false),
require: 'true', // env('DATABASE_AUTH', false),
/*
* MongoDB username and password.