refactor: simplify SearXNG service configuration in Docker setup

- Consolidated volume mappings for SearXNG to use a single directory.
- Removed unnecessary port mappings and legacy data volume definitions.
- Updated web search service documentation to clarify Redis usage and circuit breaker implementation, eliminating Redis dependency for circuit breaker logic.
This commit is contained in:
Anish Sarkar 2026-03-14 20:34:34 +05:30
parent d40c6bf743
commit d9e312ddaa
3 changed files with 29 additions and 53 deletions

View file

@ -45,14 +45,9 @@ services:
searxng:
image: searxng/searxng:2024.12.23
volumes:
- ./searxng/settings.yml:/etc/searxng/settings.yml:ro
- ./searxng/limiter.toml:/etc/searxng/limiter.toml:ro
- searxng_data:/etc/searxng
- ./searxng:/etc/searxng
environment:
SEARXNG_BASE_URL: http://localhost:${SEARXNG_PORT:-8888}/
SEARXNG_SECRET: ${SEARXNG_SECRET:-surfsense-searxng-secret}
ports:
- "${SEARXNG_PORT:-8888}:8080"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/healthz"]
@ -215,5 +210,3 @@ volumes:
name: surfsense-redis
shared_temp:
name: surfsense-shared-temp
searxng_data:
name: surfsense-searxng