Add .env template for shared development db
This commit is contained in:
parent
127a738e85
commit
b2574bb195
@ -14,14 +14,18 @@ const database_config = {
|
|||||||
/*
|
/*
|
||||||
* MongoDB port on the database host.
|
* MongoDB port on the database host.
|
||||||
*/
|
*/
|
||||||
|
// port: env('DATABASE_PORT', 27017),
|
||||||
port: env('DATABASE_PORT', 27017),
|
port: env('DATABASE_PORT', 27017),
|
||||||
|
|
||||||
|
protocol: env('DATABASE_PROTOCOL', 'mongodb'),
|
||||||
|
connect_flags: env('DATABASE_FLAGS', '?authSource=admin'),
|
||||||
|
|
||||||
auth: {
|
auth: {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Boolean true if the database connection requires auth.
|
* Boolean true if the database connection requires auth.
|
||||||
*/
|
*/
|
||||||
require: env('DATABASE_AUTH', false),
|
require: 'true', // env('DATABASE_AUTH', false),
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MongoDB username and password.
|
* MongoDB username and password.
|
||||||
|
@ -10,13 +10,13 @@ SERVER_PORT=8000
|
|||||||
# 5 - Debug
|
# 5 - Debug
|
||||||
LOGGING_LEVEL=10
|
LOGGING_LEVEL=10
|
||||||
|
|
||||||
DATABASE_HOST=cluster0.54a0p.mongodb.net
|
DATABASE_HOST=eecs448.garrettmills.dev
|
||||||
DATABASE_PORT=27017
|
DATABASE_PORT=27017
|
||||||
DATABASE_NAME=football_dev1
|
DATABASE_NAME=football_1
|
||||||
|
|
||||||
# if true, specify DATABASE_USERNAME and DATABASE_PASSWORD
|
# if true, specify DATABASE_USERNAME and DATABASE_PASSWORD
|
||||||
DATABASE_AUTH=true
|
DATABASE_AUTH=true
|
||||||
DATABASE_USERNAME=448developuser
|
DATABASE_USERNAME=eecs448proj
|
||||||
DATABASE_PASSWORD=
|
DATABASE_PASSWORD=
|
||||||
|
|
||||||
# used to hash passwords and session keys
|
# used to hash passwords and session keys
|
||||||
|
@ -24,6 +24,6 @@
|
|||||||
"flitter-i18n": "^0.1.0",
|
"flitter-i18n": "^0.1.0",
|
||||||
"flitter-orm": "^0.4.0",
|
"flitter-orm": "^0.4.0",
|
||||||
"flitter-upload": "^0.8.1",
|
"flitter-upload": "^0.8.1",
|
||||||
"libflitter": "^0.53.0"
|
"libflitter": "^0.58.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2364,10 +2364,10 @@ leven@^1.0.2:
|
|||||||
resolved "https://registry.yarnpkg.com/leven/-/leven-1.0.2.tgz#9144b6eebca5f1d0680169f1a6770dcea60b75c3"
|
resolved "https://registry.yarnpkg.com/leven/-/leven-1.0.2.tgz#9144b6eebca5f1d0680169f1a6770dcea60b75c3"
|
||||||
integrity sha1-kUS27ryl8dBoAWnxpncNzqYLdcM=
|
integrity sha1-kUS27ryl8dBoAWnxpncNzqYLdcM=
|
||||||
|
|
||||||
libflitter@^0.53.0:
|
libflitter@^0.58.1:
|
||||||
version "0.53.0"
|
version "0.58.1"
|
||||||
resolved "https://registry.yarnpkg.com/libflitter/-/libflitter-0.53.0.tgz#f1e2250597916dd7b7b7b8f0af04118ed1f30b41"
|
resolved "https://registry.yarnpkg.com/libflitter/-/libflitter-0.58.1.tgz#bee2e5e65a325046632c799f76c455cb5a2f203e"
|
||||||
integrity sha512-i8otSTzNwMFJEa585bw+xfaNSuXm6c/kQBYXsyB8jzFU9PBFmvrEp/QzRqQD/lDgiQChYgjRs2TJofqDYvAOHg==
|
integrity sha512-23k/G6HfMEHvGxjIupVOjpmLkcLYYDRvXSYTLkDMeAyGfzXNTSVVS2a+TFoR72Nuj3dMrDxIqvHp1iNGn4y54Q==
|
||||||
dependencies:
|
dependencies:
|
||||||
colors "^1.3.3"
|
colors "^1.3.3"
|
||||||
connect-mongodb-session "^2.2.0"
|
connect-mongodb-session "^2.2.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user