[podman] Add SearXNG
This commit is contained in:
parent
369bdc1838
commit
5ff42f4e74
3 changed files with 109 additions and 0 deletions
28
projects/searxng/compose.yaml.mako
Normal file
28
projects/searxng/compose.yaml.mako
Normal file
|
@ -0,0 +1,28 @@
|
|||
services:
|
||||
searxng:
|
||||
container_name: searxng
|
||||
image: docker.io/searxng/searxng:latest
|
||||
restart: always
|
||||
user: ${env['users']['searxng']}:${env['users']['searxng']}
|
||||
environment:
|
||||
- SEARXNG_BASE_URL=https://searx.${env['domain']}
|
||||
- SEARXNG_SECRET="${secrets['searxng']}"
|
||||
ports:
|
||||
- 127.0.0.1:${env['ports']['searxng']}:8080
|
||||
volumes:
|
||||
- ./settings.yml:/etc/searxng/settings.yml:ro
|
||||
- ./limiter.toml:/etc/searxng/limiter.toml:ro
|
||||
|
||||
valkey:
|
||||
container_name: searxng-valkey
|
||||
image: docker.io/valkey/valkey:7-alpine
|
||||
restart: always
|
||||
user: ${env['users']['searxng_valkey']}:${env['users']['searxng_valkey']}
|
||||
command: valkey-server --save 30 1 --loglevel warning
|
||||
volumes:
|
||||
- valkey:/data
|
||||
|
||||
${env['networks_attr']}
|
||||
|
||||
volumes:
|
||||
valkey:
|
3
projects/searxng/limiter.toml
Normal file
3
projects/searxng/limiter.toml
Normal file
|
@ -0,0 +1,3 @@
|
|||
[botdetection.ip_limit]
|
||||
# activate link_token method in the ip_limit method
|
||||
link_token = true
|
78
projects/searxng/settings.yml
Normal file
78
projects/searxng/settings.yml
Normal file
|
@ -0,0 +1,78 @@
|
|||
use_default_settings: true
|
||||
|
||||
general:
|
||||
instance_name: "SearXNG"
|
||||
|
||||
search:
|
||||
autocomplete: "brave"
|
||||
|
||||
server:
|
||||
limiter: true
|
||||
image_proxy: true
|
||||
|
||||
redis:
|
||||
url: redis://searxng-valkey:6379/0
|
||||
|
||||
ui:
|
||||
static_use_hash: true
|
||||
query_in_title: true
|
||||
|
||||
enabled_plugins:
|
||||
- 'Basic Calculator'
|
||||
- 'Hash plugin'
|
||||
- 'Self Information'
|
||||
- 'Tracker URL remover'
|
||||
- 'Unit converter plugin'
|
||||
|
||||
engines:
|
||||
- name: artic
|
||||
disabled: true
|
||||
|
||||
- name: bing
|
||||
disabled: false
|
||||
|
||||
- name: bing english
|
||||
engine: bing
|
||||
language: en
|
||||
shortcut: bien
|
||||
|
||||
- name: deviantart
|
||||
disabled: true
|
||||
|
||||
- name: duckduckgo
|
||||
disabled: true
|
||||
|
||||
- name: flickr
|
||||
disabled: true
|
||||
|
||||
- name: google english
|
||||
engine: google
|
||||
language: en
|
||||
shortcut: goen
|
||||
|
||||
- name: library of congress
|
||||
disabled: true
|
||||
|
||||
- name: openverse
|
||||
disabled: true
|
||||
|
||||
- name: piped
|
||||
disabled: true
|
||||
|
||||
- name: sepiasearch
|
||||
disabled: true
|
||||
|
||||
- name: unsplash
|
||||
disabled: true
|
||||
|
||||
- name: vimeo
|
||||
disabled: true
|
||||
|
||||
- name: wikicommons.images
|
||||
disabled: true
|
||||
|
||||
- name: wikidata
|
||||
disabled: true
|
||||
|
||||
- name: yahoo news
|
||||
disabled: true
|
Loading…
Reference in a new issue