SearXNG Compose from live instance settings #5

Open
opened 2026-08-13 14:05:47 +01:00 by eSlider · 2 comments
Owner

Why

Client still assumes an external instance; 2dph skill docs are stale (search.ops.io).

Do

  • Optional compose profile with sanitized settings.yml / limiter.toml from the live internal SearXNG (formats json+html, bing+google cse, short suspended_times, RFC1918 pass_ip).
  • Pin image 2026.8.10. Generate SEARXNG_SECRET. Do not copy ops base_url, docker0 bind, or Basic Auth.
  • On a host that already runs SearXNG: set BRAIN_SEARCH_URL, do not start a second copy.
  • Go client: throttled != absence, PII refuse, sqlite cache.

Test

  • Fixture tests for classify/throttled. Compose file has no secrets.
## Why Client still assumes an external instance; 2dph skill docs are stale (`search.ops.io`). ## Do - Optional compose profile with sanitized `settings.yml` / `limiter.toml` from the live internal SearXNG (formats json+html, bing+google cse, short suspended_times, RFC1918 pass_ip). - Pin image 2026.8.10. Generate `SEARXNG_SECRET`. Do not copy ops base_url, docker0 bind, or Basic Auth. - On a host that already runs SearXNG: set `BRAIN_SEARCH_URL`, do not start a second copy. - Go client: `throttled` != absence, PII refuse, sqlite cache. ## Test - Fixture tests for classify/throttled. Compose file has no secrets.
Author
Owner

Partial: Go SearXNG client (bin/web/search.go + internal/websearch). Empty results = throttled, not absence. Optional compose profile searxng (pinned 2026.8.10, RFC1918 limiter, no secrets). Skip the profile when BRAIN_SEARCH_URL already points at a live instance.

GitHub: https://github.com/eSlider/2dph/pull/16

Partial: Go SearXNG client (`bin/web/search.go` + `internal/websearch`). Empty results = `throttled`, not absence. Optional compose profile `searxng` (pinned 2026.8.10, RFC1918 limiter, no secrets). Skip the profile when `BRAIN_SEARCH_URL` already points at a live instance. GitHub: https://github.com/eSlider/2dph/pull/16
Author
Owner

Go client + sanitized compose profile already on main. Remaining operator work: CSE API keys (not in git), live smoke against BRAIN_SEARCH_URL, decide whether this host already runs SearXNG.

Go client + sanitized compose profile already on main. Remaining operator work: CSE API keys (not in git), live smoke against BRAIN_SEARCH_URL, decide whether this host already runs SearXNG.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eSlider/2dph#5