Skip to content

Commit

Permalink
Updated for database authentication.
Browse files Browse the repository at this point in the history
  • Loading branch information
EricKit committed Jul 24, 2019
1 parent cff7c51 commit 6d42bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ [email protected]

#### 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.
Expand Down

0 comments on commit 6d42bd4

Please sign in to comment.