Skip to content

Commit 8affcc1

Browse files
committed
update README to document API_SECRET_FILE environment variable
1 parent fc2893a commit 8affcc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ To learn more about the Nightscout API, visit https://YOUR-SITE.com/api-docs/ or
238238
### Required
239239

240240
* `MONGODB_URI` - The connection string for your Mongo database. Something like `mongodb://sally:sallypass@ds099999.mongolab.com:99999/nightscout`.
241-
* `API_SECRET` - A secret passphrase that must be at least 12 characters long.
241+
* `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.
242242
* `MONGODB_COLLECTION` (`entries`) - The Mongo collection where CGM entries are stored.
243243
* `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.
244244

0 commit comments

Comments
 (0)