-
Notifications
You must be signed in to change notification settings - Fork 71.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update README to document API_SECRET_FILE environment variable
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
||
|