From c637eb28dd31653283d07bfeef9c581486984326 Mon Sep 17 00:00:00 2001 From: glitsj16 Date: Sun, 19 Dec 2021 18:42:52 +0000 Subject: [PATCH] Add missing env vars to readme [skip ci] (#584) --- README.md | 1 + whoogle.template.env | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/README.md b/README.md index c7b09d9..bccba99 100644 --- a/README.md +++ b/README.md @@ -331,6 +331,7 @@ There are a few optional environment variables available for customizing a Whoog | WHOOGLE_AUTOCOMPLETE | Controls visibility of autocomplete/search suggestions. Default on -- use '0' to disable | | WHOOGLE_MINIMAL | Remove everything except basic result cards from all search queries. | | WHOOGLE_CSP | Sets a default set of 'Content-Security-Policy' headers | +| WHOOGLE_RESULTS_PER_PAGE | Set the number of results per page | ### Config Environment Variables These environment variables allow setting default config values, but can be overwritten manually by using the home page config menu. These allow a shortcut for destroying/rebuilding an instance to the same config state every time. diff --git a/whoogle.template.env b/whoogle.template.env index ae9c9a4..0fb97ad 100644 --- a/whoogle.template.env +++ b/whoogle.template.env @@ -61,6 +61,18 @@ # Search using GET requests only (exposes query in logs) #WHOOGLE_CONFIG_GET_ONLY=1 +# Remove everything except basic result cards from all search queries +#WHOOGLE_MINIMAL=0 + +# Set the number of results per page +#WHOOGLE_RESULTS_PER_PAGE=10 + +# Controls visibility of autocomplete/search suggestions +#WHOOGLE_AUTOCOMPLETE=1 + +# The port where Whoogle will be exposed +#EXPOSE_PORT=5000 + # Set instance URL #WHOOGLE_CONFIG_URL=https:///