From 6d42bd41f18b97a9ff0146a612a30757bc5d0a15 Mon Sep 17 00:00:00 2001 From: Eric Kitaif Date: Wed, 24 Jul 2019 13:16:09 -0700 Subject: [PATCH] Updated for database authentication. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 840bb65..3c0b25d 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ EMAIL_FROM=from@somedomain.com #### Optional Parameters +`MONGO_AUTH_ENABLED` tells if your database requires a username and password. If so, the user must exist on the database specified in the MONGO_URI. If enabled, `MONGO_USER` and `MONGO_PASSWORD` are required. + +`MONGO_USER`, `MONGO_PASSWORD` the user and password for authentication. Recommend a role with readWrite. + `JWT_EXPIRES_IN` Seconds until token expires. If not set, there will be no expiration. `EMAIL_ENABLED` If email services should be used, `EMAIL_*` fields are required if enabled.