[yamllint] ./utils/templates/etc/searx/*.yml

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-06-12 20:46:07 +02:00
parent 52db47a1c9
commit 4a814dabf3
2 changed files with 28 additions and 17 deletions

2
manage
View File

@ -32,7 +32,7 @@ pylint.FILES() {
YAMLLINT_FILES=() YAMLLINT_FILES=()
while IFS= read -r line; do while IFS= read -r line; do
YAMLLINT_FILES+=("$line") YAMLLINT_FILES+=("$line")
done <<< "$(git ls-files './tests/*.yml' './searx/*.yml')" done <<< "$(git ls-files './tests/*.yml' './searx/*.yml' './utils/templates/etc/searx/*.yml')"
PYLINT_SEARX_DISABLE_OPTION="\ PYLINT_SEARX_DISABLE_OPTION="\
I,C,R,\ I,C,R,\

View File

@ -1,23 +1,34 @@
use_default_settings: True use_default_settings: true
general: general:
debug : False # Debug mode, only for development debug: false # Debug mode, only for development
instance_name : "searx" # displayed name instance_name: "searxng" # displayed name
contact_url: false # mailto:contact@example.com
search: search:
safe_search : 0 # Filter results. 0: None, 1: Moderate, 2: Strict # Filter results. 0: None, 1: Moderate, 2: Strict
autocomplete : "" # Existing autocomplete backends: "dbpedia", "duckduckgo", "google", "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off by default safe_search: 0
default_lang : "" # Default search language - leave blank to detect from browser information or use codes from 'languages.py' # Existing autocomplete backends: "dbpedia", "duckduckgo", "google",
formats: [html, csv, json, rss] # "startpage", "swisscows", "qwant", "wikipedia" - leave blank to turn it off
# by default.
autocomplete: ""
# Default search language - leave blank to detect from browser information or
# use codes from 'languages.py'
default_lang: ""
# remove format to deny access, use lower case.
formats: [html, csv, json, rss]
server: server:
port : 8888 port: 8888
bind_address : "127.0.0.1" # address to listen on # address to listen on
secret_key : "ultrasecretkey" # change this! bind_address: "127.0.0.1"
base_url : False # Set custom base_url. Possible values: False or "https://your.custom.host/location/" secret_key: "ultrasecretkey" # change this!
image_proxy : False # Proxying image results through searx # Set custom base_url. Possible values:
# false or "https://your.custom.host/location/"
base_url: https://darmarit.org/searx
# Proxying image results through searx
image_proxy: false
# uncomment below section if you have running morty proxy # result_proxy:
#result_proxy: # url: http://127.0.0.1:3000/
# url : http://127.0.0.1:3000/ # key: !!binary "your_morty_proxy_key"
# key : !!binary "your_morty_proxy_key"