Skip to content

Commit

Permalink
update README to document API_SECRET_FILE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
swebster committed Oct 1, 2024
1 parent fc2893a commit 8affcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
### Required

* `MONGODB_URI` - The connection string for your Mongo database. Something like `mongodb://sally:[email protected]:99999/nightscout`.
* `API_SECRET` - A secret passphrase that must be at least 12 characters long.
* `API_SECRET` - A secret passphrase that must be at least 12 characters long. Alternatively, if `API_SECRET_FILE` is defined, the secret passphrase will be read from the specified file.
* `MONGODB_COLLECTION` (`entries`) - The Mongo collection where CGM entries are stored.
* `DISPLAY_UNITS` (`mg/dl`) - Options are `mg/dl` or `mmol/L` (or just `mmol`). Setting to `mmol/L` puts the entire server into `mmol/L` mode by default, no further settings needed.

Expand Down

0 comments on commit 8affcc1

Please sign in to comment.