🐛 fix(mana-search): fix SearXNG docker config for local development

- Remove :ro flag from volume mounts (SearXNG needs write access)
- Simplify limiter.toml to match current SearXNG schema
- Disable link_token for API usage without browser
This commit is contained in:
Till-JS 2026-01-29 13:07:21 +01:00
parent 176aa052b9
commit 677eb823e3
23 changed files with 1950 additions and 183 deletions

View file

@ -13,8 +13,8 @@ services:
ports:
- "8080:8080" # Exposed for development
volumes:
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./searxng/limiter.toml:/etc/searxng/limiter.toml:ro
- ./searxng/settings.yml:/etc/searxng/settings.yml
- ./searxng/limiter.toml:/etc/searxng/limiter.toml
environment:
SEARXNG_BASE_URL: http://localhost:8080
SEARXNG_SECRET: dev-secret-change-in-production

View file

@ -2,14 +2,8 @@
# Documentation: https://docs.searxng.org/admin/settings/limiter.html
[botdetection.ip_limit]
# Enable link token for bot detection
link_token = true
# Maximum searches per minute per IP
limit = 60
# Burst limit (requests before rate limiting kicks in)
burst = 20
# Disable link token for API usage
link_token = false
[botdetection.ip_lists]
# Allow internal Docker network IPs (no rate limiting for internal services)
@ -22,6 +16,3 @@ pass_ip = [
"127.0.0.1",
"::1",
]
# Block known bad actors (add IPs as needed)
block_ip = []