Auto Merge of PR 87 - searxng-config-fix_2026-01-02T16-03-17
Merged by Trez.One
This commit was merged in pull request #87.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{% set vault_addr = 'https://vault.trez.wtf' %}
|
||||
{% set secrets_path = 'rinoa-docker/env' %}
|
||||
|
||||
general:
|
||||
# Debug mode, only for development. Is overwritten by ${SEARXNG_DEBUG}
|
||||
debug: false
|
||||
@@ -16,7 +17,6 @@ general:
|
||||
enable_metrics: true
|
||||
# expose stats in open metrics format at /metrics
|
||||
# leave empty to disable (no password set)
|
||||
# open_metrics: <password>
|
||||
open_metrics: ''
|
||||
|
||||
brand:
|
||||
@@ -25,87 +25,35 @@ brand:
|
||||
public_instances: https://searx.space
|
||||
wiki_url: https://github.com/searxng/searxng/wiki
|
||||
issue_url: https://github.com/searxng/searxng/issues
|
||||
# custom:
|
||||
# maintainer: "Jon Doe"
|
||||
# # Custom entries in the footer: [title]: [link]
|
||||
# links:
|
||||
# Uptime: https://uptime.searxng.org/history/darmarit-org
|
||||
# About: "https://searxng.org"
|
||||
|
||||
search:
|
||||
# Filter results. 0: None, 1: Moderate, 2: Strict
|
||||
safe_search: 0
|
||||
# Existing autocomplete backends: "360search", "baidu", "brave", "dbpedia", "duckduckgo", "google", "yandex",
|
||||
# "mwmbl", "naver", "seznam", "sogou", "startpage", "stract", "swisscows", "quark", "qwant", "wikipedia" -
|
||||
# leave blank to turn it off by default.
|
||||
autocomplete: ""
|
||||
# minimun characters to type before autocompleter starts
|
||||
autocomplete_min: 4
|
||||
# backend for the favicon near URL in search results.
|
||||
# Available resolvers: "allesedv", "duckduckgo", "google", "yandex" - leave blank to turn it off by default.
|
||||
favicon_resolver: ""
|
||||
# Default search language - leave blank to detect from browser information or
|
||||
# use codes from 'languages.py'
|
||||
default_lang: "auto"
|
||||
# max_page: 0 # if engine supports paging, 0 means unlimited numbers of pages
|
||||
# Available languages
|
||||
# languages:
|
||||
# - all
|
||||
# - en
|
||||
# - en-US
|
||||
# - de
|
||||
# - it-IT
|
||||
# - fr
|
||||
# - fr-BE
|
||||
# ban time in seconds after engine errors
|
||||
ban_time_on_fail: 5
|
||||
# max ban time in seconds after engine errors
|
||||
max_ban_time_on_fail: 120
|
||||
suspended_times:
|
||||
# Engine suspension time after error (in seconds; set to 0 to disable)
|
||||
# For error "Access denied" and "HTTP error [402, 403]"
|
||||
SearxEngineAccessDenied: 86400
|
||||
# For error "CAPTCHA"
|
||||
SearxEngineCaptcha: 86400
|
||||
# For error "Too many request" and "HTTP error 429"
|
||||
SearxEngineTooManyRequests: 3600
|
||||
# Cloudflare CAPTCHA
|
||||
cf_SearxEngineCaptcha: 1296000
|
||||
cf_SearxEngineAccessDenied: 86400
|
||||
# ReCAPTCHA
|
||||
recaptcha_SearxEngineCaptcha: 604800
|
||||
|
||||
# remove format to deny access, use lower case.
|
||||
# formats: [html, csv, json, rss]
|
||||
formats:
|
||||
- html
|
||||
|
||||
server:
|
||||
# Is overwritten by ${SEARXNG_PORT} and ${SEARXNG_BIND_ADDRESS}
|
||||
port: 8888
|
||||
bind_address: "127.0.0.1"
|
||||
# public URL of the instance, to ensure correct inbound links. Is overwritten
|
||||
# by ${SEARXNG_BASE_URL}.
|
||||
base_url: false # "http://example.com/location"
|
||||
# rate limit the number of request on the instance, block some bots.
|
||||
# Is overwritten by ${SEARXNG_LIMITER}
|
||||
base_url: false
|
||||
limiter: false
|
||||
# enable features designed only for public instances.
|
||||
# Is overwritten by ${SEARXNG_PUBLIC_INSTANCE}
|
||||
public_instance: false
|
||||
|
||||
# If your instance owns a /etc/searxng/settings.yml file, then set the following
|
||||
# values there.
|
||||
|
||||
secret_key: {{ lookup('community.hashi_vault.vault_kv2_get', 'env', engine_mount_point='rinoa-docker', url=vault_addr, token=vault_token)['secret']['SEARXNG_SECRET_KEY'] }} # Is overwritten by ${SEARXNG_SECRET}
|
||||
# Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY}
|
||||
image_proxy: true
|
||||
# 1.0 and 1.1 are supported
|
||||
http_protocol_version: "1.0"
|
||||
# POST queries are "more secure!" but are also the source of hard-to-locate
|
||||
# annoyances, which is why GET may be better for end users and their browsers.
|
||||
# see https://github.com/searxng/searxng/pull/3619
|
||||
# Is overwritten by ${SEARXNG_METHOD}
|
||||
method: "POST"
|
||||
default_http_headers:
|
||||
X-Content-Type-Options: nosniff
|
||||
@@ -114,41 +62,20 @@ server:
|
||||
Referrer-Policy: no-referrer
|
||||
|
||||
valkey:
|
||||
# URL to connect valkey database. Is overwritten by ${SEARXNG_VALKEY_URL}.
|
||||
# https://docs.searxng.org/admin/settings/settings_valkey.html#settings-valkey
|
||||
# url: valkey://localhost:6379/0
|
||||
url: redis://searxng-valkey:6379/0
|
||||
|
||||
ui:
|
||||
# Custom static path - leave it blank if you didn't change
|
||||
static_path: ""
|
||||
# Custom templates path - leave it blank if you didn't change
|
||||
templates_path: ""
|
||||
# query_in_title: When true, the result page's titles contains the query
|
||||
# it decreases the privacy, since the browser can records the page titles.
|
||||
query_in_title: true
|
||||
# infinite_scroll: When true, automatically loads the next page when scrolling to bottom of the current page.
|
||||
infinite_scroll: true
|
||||
# ui theme
|
||||
default_theme: simple
|
||||
# center the results ?
|
||||
center_alignment: false
|
||||
# URL prefix of the internet archive, don't forget trailing slash (if needed).
|
||||
# cache_url: "https://webcache.googleusercontent.com/search?q=cache:"
|
||||
# Default interface locale - leave blank to detect from browser information or
|
||||
# use codes from the 'locales' config section
|
||||
default_locale: ""
|
||||
# Open result links in a new tab by default
|
||||
# results_on_new_tab: false
|
||||
theme_args:
|
||||
# style of simple theme: auto, light, dark
|
||||
simple_style: auto
|
||||
# Perform search immediately if a category selected.
|
||||
# Disable to select multiple categories at once and start the search manually.
|
||||
search_on_category_select: true
|
||||
# Hotkeys: default or vim
|
||||
hotkeys: default
|
||||
# URL formatting: pretty, full or host
|
||||
url_formatting: pretty
|
||||
|
||||
# Lock arbitrary settings on the preferences page.
|
||||
@@ -165,7 +92,6 @@ ui:
|
||||
# - locale
|
||||
# - theme
|
||||
# - results_on_new_tab
|
||||
# - infinite_scroll
|
||||
# - search_on_category_select
|
||||
# - method
|
||||
# - image_proxy
|
||||
@@ -217,6 +143,7 @@ outgoing:
|
||||
# - 1.1.1.2
|
||||
# - fe80::/126
|
||||
|
||||
|
||||
# Plugin configuration, for more details see
|
||||
# https://docs.searxng.org/admin/settings/settings_plugins.html
|
||||
#
|
||||
@@ -225,6 +152,9 @@ plugins:
|
||||
searx.plugins.calculator.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
searx.plugins.infinite_scroll.SXNGPlugin:
|
||||
active: false
|
||||
|
||||
searx.plugins.hash_plugin.SXNGPlugin:
|
||||
active: true
|
||||
|
||||
@@ -390,25 +320,6 @@ engines:
|
||||
timeout: 6
|
||||
disabled: true
|
||||
|
||||
- name: alexandria
|
||||
engine: json_engine
|
||||
shortcut: alx
|
||||
categories: general
|
||||
paging: true
|
||||
search_url: https://api.alexandria.org/?a=1&q={query}&p={pageno}
|
||||
results_query: results
|
||||
title_query: title
|
||||
url_query: url
|
||||
content_query: snippet
|
||||
timeout: 1.5
|
||||
disabled: true
|
||||
about:
|
||||
website: https://alexandria.org/
|
||||
official_api_documentation: https://github.com/alexandria-org/alexandria-api/raw/master/README.md
|
||||
use_official_api: true
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
- name: astrophysics data system
|
||||
engine: astrophysics_data_system
|
||||
shortcut: ads
|
||||
@@ -498,6 +409,15 @@ engines:
|
||||
shortcut: ask
|
||||
disabled: true
|
||||
|
||||
# - name: azure
|
||||
# engine: azure
|
||||
# shortcut: az
|
||||
# categories: [it, cloud]
|
||||
# azure_tenant_id: "your_tenant_id"
|
||||
# azure_client_id: "your_client_id"
|
||||
# azure_client_secret: "your_client_secret"
|
||||
# disabled: true
|
||||
|
||||
# tmp suspended: dh key too small
|
||||
# - name: base
|
||||
# engine: base
|
||||
@@ -667,12 +587,6 @@ engines:
|
||||
api_key: ""
|
||||
inactive: true
|
||||
|
||||
# - name: cppreference
|
||||
# engine: cppreference
|
||||
# shortcut: cpp
|
||||
# paging: false
|
||||
# disabled: true
|
||||
|
||||
- name: crossref
|
||||
engine: crossref
|
||||
shortcut: cr
|
||||
@@ -736,6 +650,11 @@ engines:
|
||||
shortcut: da
|
||||
timeout: 3.0
|
||||
|
||||
- name: devicons
|
||||
engine: devicons
|
||||
shortcut: di
|
||||
timeout: 3.0
|
||||
|
||||
- name: ddg definitions
|
||||
engine: duckduckgo_definitions
|
||||
shortcut: ddd
|
||||
@@ -1072,6 +991,12 @@ engines:
|
||||
play_categ: movies
|
||||
disabled: true
|
||||
|
||||
- name: grokipedia
|
||||
engine: grokipedia
|
||||
shortcut: gp
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: material icons
|
||||
engine: material_icons
|
||||
shortcut: mi
|
||||
@@ -1300,6 +1225,11 @@ engines:
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: lucide
|
||||
engine: lucide
|
||||
shortcut: luc
|
||||
timeout: 3.0
|
||||
|
||||
- name: marginalia
|
||||
engine: marginalia
|
||||
shortcut: mar
|
||||
@@ -1434,22 +1364,6 @@ engines:
|
||||
require_api_key: false
|
||||
results: JSON
|
||||
|
||||
# https://docs.searxng.org/dev/engines/online/mullvad_leta.html
|
||||
- name: mullvadleta
|
||||
engine: mullvad_leta
|
||||
disabled: true
|
||||
leta_engine: google
|
||||
categories: [general, web]
|
||||
shortcut: ml
|
||||
|
||||
- name: mullvadleta brave
|
||||
engine: mullvad_leta
|
||||
network: mullvadleta
|
||||
disabled: true
|
||||
leta_engine: brave
|
||||
categories: [general, web]
|
||||
shortcut: mlb
|
||||
|
||||
- name: odysee
|
||||
engine: odysee
|
||||
shortcut: od
|
||||
@@ -1640,6 +1554,7 @@ engines:
|
||||
engine: pixiv
|
||||
disabled: true
|
||||
inactive: true
|
||||
remove_ai_images: false
|
||||
pixiv_image_proxies:
|
||||
- https://pximg.example.org
|
||||
# A proxy is required to load the images. Hosting an image proxy server
|
||||
@@ -2134,22 +2049,21 @@ engines:
|
||||
search_type: web
|
||||
shortcut: yd
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: yandex images
|
||||
engine: yandex
|
||||
network: yandex
|
||||
categories: images
|
||||
search_type: images
|
||||
shortcut: ydi
|
||||
disabled: true
|
||||
inactive: true
|
||||
|
||||
- name: yandex music
|
||||
engine: yandex_music
|
||||
network: yandex
|
||||
shortcut: ydm
|
||||
disabled: true
|
||||
# https://yandex.com/support/music/access.html
|
||||
inactive: true
|
||||
|
||||
- name: yahoo
|
||||
engine: yahoo
|
||||
@@ -2298,31 +2212,27 @@ engines:
|
||||
|
||||
- name: wikicommons.images
|
||||
engine: wikicommons
|
||||
shortcut: wc
|
||||
shortcut: wci
|
||||
categories: images
|
||||
search_type: images
|
||||
number_of_results: 10
|
||||
wc_search_type: image
|
||||
|
||||
- name: wikicommons.videos
|
||||
engine: wikicommons
|
||||
shortcut: wcv
|
||||
categories: videos
|
||||
search_type: videos
|
||||
number_of_results: 10
|
||||
wc_search_type: video
|
||||
|
||||
- name: wikicommons.audio
|
||||
engine: wikicommons
|
||||
shortcut: wca
|
||||
categories: music
|
||||
search_type: audio
|
||||
number_of_results: 10
|
||||
wc_search_type: audio
|
||||
|
||||
- name: wikicommons.files
|
||||
engine: wikicommons
|
||||
shortcut: wcf
|
||||
categories: files
|
||||
search_type: files
|
||||
number_of_results: 10
|
||||
wc_search_type: file
|
||||
|
||||
- name: wolframalpha
|
||||
shortcut: wa
|
||||
@@ -2681,43 +2591,10 @@ engines:
|
||||
|
||||
- name: sourcehut
|
||||
shortcut: srht
|
||||
engine: xpath
|
||||
paging: true
|
||||
search_url: https://sr.ht/projects?page={pageno}&search={query}
|
||||
results_xpath: (//div[@class="event-list"])[1]/div[@class="event"]
|
||||
url_xpath: ./h4/a[2]/@href
|
||||
title_xpath: ./h4/a[2]
|
||||
content_xpath: ./p
|
||||
first_page_num: 1
|
||||
categories: [it, repos]
|
||||
engine: sourcehut
|
||||
# https://docs.searxng.org/dev/engines/online/sourcehut.html
|
||||
# sourcehut_sort_order: longest-active
|
||||
disabled: true
|
||||
about:
|
||||
website: https://sr.ht
|
||||
wikidata_id: Q78514485
|
||||
official_api_documentation: https://man.sr.ht/
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
|
||||
- name: goo
|
||||
shortcut: goo
|
||||
engine: xpath
|
||||
paging: true
|
||||
search_url: https://search.goo.ne.jp/web.jsp?MT={query}&FR={pageno}0
|
||||
url_xpath: //div[@class="result"]/p[@class='title fsL1']/a/@href
|
||||
title_xpath: //div[@class="result"]/p[@class='title fsL1']/a
|
||||
content_xpath: //p[contains(@class,'url fsM')]/following-sibling::p
|
||||
first_page_num: 0
|
||||
categories: [general, web]
|
||||
disabled: true
|
||||
timeout: 4.0
|
||||
about:
|
||||
website: https://search.goo.ne.jp
|
||||
wikidata_id: Q249044
|
||||
use_official_api: false
|
||||
require_api_key: false
|
||||
results: HTML
|
||||
language: ja
|
||||
|
||||
- name: bt4g
|
||||
engine: bt4g
|
||||
|
||||
@@ -2,15 +2,15 @@
|
||||
"mcpServers": {
|
||||
"context7": {
|
||||
"type": "streamable-http",
|
||||
"url": "http://context7-mcp:8000/mcp"
|
||||
"url": "http://context7-mcp:8080/mcp"
|
||||
},
|
||||
"gitea": {
|
||||
"type": "streamable-http",
|
||||
"url": "http://gitea-mcp:8000/mcp"
|
||||
"url": "http://gitea-mcp:8080/mcp"
|
||||
},
|
||||
"searxng": {
|
||||
"type": "streamable-http",
|
||||
"url": "http://searxng-mcp:8000/mcp"
|
||||
"url": "http://searxng-mcp:3000/mcp"
|
||||
},
|
||||
"signoz": {
|
||||
"type": "streamable-http",
|
||||
|
||||
+9
-9
@@ -5,12 +5,12 @@ template_base_path: "{{ playbook_dir }}/app-configs"
|
||||
vault_addr: "https://vault.trez.wtf"
|
||||
vault_token: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
35303736333161356439393866306637366433336638633638323763656263346561656635626339
|
||||
3264373965633564316365323166366637636535623163340a386366356630326233326434316165
|
||||
35633434643864653339313937656330626538343031313461373833636365363866393965613434
|
||||
6366383839363737640a646331303039353639326239333737383137633036626436623166633935
|
||||
31363666633164326131356634626633336130666530323338616461383339333435393864393938
|
||||
32393265366534326564333730323935313631306531633739623961333436336238653065336665
|
||||
36656334303634363037666561353731633664306461353131663032376632626331303932343135
|
||||
31383638623035373466623236346533326433653766613231396637306665373366636335646465
|
||||
3739
|
||||
31626632653338353037663066643261383134343463313661396666363330623863306337333136
|
||||
3039653965666131653536656363336466393266653363630a306334393865613430303737636233
|
||||
37303365396566306637643735383861633164336462663134363561666430613562323966353732
|
||||
6335353137303161390a303530333635636136393364386636663731353234633762376136316434
|
||||
34366464363762633937613837393931363237376466616164363465363338343937623737376332
|
||||
38336134393661303530613439343433336634653264663266653030346664316231636431313936
|
||||
62396630376330353132303763333430346536323431623835343934323338303066356438396436
|
||||
37306632616261363863313235336432656266656463333135333163333635356262373033323032
|
||||
3064
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
appdata_base_path: /home/ovos/.config/docker
|
||||
appdata_base_path: /home/charish/.config/docker
|
||||
secrets_path: benedikta-docker/env
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ all:
|
||||
hosts:
|
||||
benedikta:
|
||||
ansible_host: 192.168.1.250
|
||||
ansible_user: ovos
|
||||
ansible_user: charish
|
||||
rikku:
|
||||
ansible_host: 192.168.1.252
|
||||
ansible_user: pi
|
||||
|
||||
Reference in New Issue
Block a user