From 4376f74127e25621c33229d3c35b2d30aa4e6e32 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Sat, 14 Mar 2026 21:03:25 +0530 Subject: [PATCH] chore: update SearXNG service configuration in Docker and documentation - Updated SearXNG image version to 2026.3.13-3c1f68c59 in the Docker Compose file. - Added port mapping for SearXNG service to allow access on a configurable port. - Enhanced the .env.example file with comments for SearXNG configuration and usage instructions. --- docker/docker-compose.dev.yml | 4 +++- surfsense_backend/.env.example | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.dev.yml b/docker/docker-compose.dev.yml index 7c0c4ff79..15531bf55 100644 --- a/docker/docker-compose.dev.yml +++ b/docker/docker-compose.dev.yml @@ -58,7 +58,9 @@ services: retries: 5 searxng: - image: searxng/searxng:2024.12.23 + image: searxng/searxng:2026.3.13-3c1f68c59 + ports: + - "${SEARXNG_PORT:-8888}:8080" volumes: - ./searxng:/etc/searxng environment: diff --git a/surfsense_backend/.env.example b/surfsense_backend/.env.example index 413be03c4..b0d70ece8 100644 --- a/surfsense_backend/.env.example +++ b/surfsense_backend/.env.example @@ -12,6 +12,11 @@ REDIS_APP_URL=redis://localhost:6379/0 # Optional: TTL in seconds for connector indexing lock key # CONNECTOR_INDEXING_LOCK_TTL_SECONDS=28800 +# Platform Web Search (SearXNG) +# Set this to enable built-in web search. Docker Compose sets it automatically. +# For standalone dev: docker run -d -p 8888:8080 -v ./docker/searxng:/etc/searxng searxng/searxng:2024.12.23 +# SEARXNG_DEFAULT_HOST=http://localhost:8888 + #Electric(for migrations only) ELECTRIC_DB_USER=electric ELECTRIC_DB_PASSWORD=electric_password