From 51464943a9a2447e6f6d11b2581083656895b098 Mon Sep 17 00:00:00 2001 From: Ryan Westfall Date: Sun, 2 Aug 2026 13:23:40 -0500 Subject: [PATCH] Point SEARXNG_BASE_URL at :8088 (dta_webapp owns :8080 on GPU host). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Aligns with server-infra#10 / PR #11 — SearxNG binds 8088 on ai-server-4080. --- .env.example | 2 +- .env.prod.example | 2 +- README.md | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env.example b/.env.example index 1f634e7..c5ac839 100644 --- a/.env.example +++ b/.env.example @@ -26,7 +26,7 @@ OLLAMA_BASE_URL=http://127.0.0.1:11434 ALLOW_INTERNET_ACCESS=true SEARCH_PROVIDER=searxng SEARCH_FAILOVER_PROVIDER=ddgs -SEARXNG_BASE_URL=http://127.0.0.1:8080 +SEARXNG_BASE_URL=http://127.0.0.1:8088 # SEARXNG_TIMEOUT_SECONDS=8 # Email (SMTP2GO) — optional for local diff --git a/.env.prod.example b/.env.prod.example index 16f1fc6..2a499a7 100644 --- a/.env.prod.example +++ b/.env.prod.example @@ -47,7 +47,7 @@ ALLOW_INTERNET_ACCESS=true SEARCH_PROVIDER=searxng SEARCH_FAILOVER_PROVIDER=ddgs # Point at the SearxNG container/service on the LAN (see README "SearxNG"). -SEARXNG_BASE_URL=http://10.0.0.128:8080 +SEARXNG_BASE_URL=http://10.0.0.128:8088 # Email (SMTP2GO) EMAIL_HOST=mail.smtp2go.com diff --git a/README.md b/README.md index 01f3fe4..d617f1b 100644 --- a/README.md +++ b/README.md @@ -94,7 +94,7 @@ with `COMPOSE_DATABASE_URL` if needed. | `ALLOW_INTERNET_ACCESS` | `true` | optional | Gate for live web retrieval | | `SEARCH_PROVIDER` | `searxng` | optional | Primary search provider (#62) | | `SEARCH_FAILOVER_PROVIDER` | `ddgs` | optional | Automatic failover | -| `SEARXNG_BASE_URL` | `http://127.0.0.1:8080` | yes if using SearxNG | Self-hosted SearxNG JSON API | +| `SEARXNG_BASE_URL` | `http://127.0.0.1:8088` | yes if using SearxNG | Self-hosted SearxNG JSON API | | `EMAIL_HOST_*` | empty | yes (prod/beta) | SMTP2GO | | `CAPTCHA_SECRET_KEY` | empty | recommended | | | `ENABLE_ACCOUNT_REGISTRATION` | `false` | optional | Self-serve sign-up; keep false until ready | @@ -179,7 +179,7 @@ services: volumes: - ./searxng:/etc/searxng:rw environment: - - SEARXNG_BASE_URL=http://10.0.0.128:8080/ + - SEARXNG_BASE_URL=http://10.0.0.128:8088/ ``` In `searxng/settings.yml` (created on first start), enable the JSON format: @@ -197,14 +197,14 @@ Then set in `chat_backend_prod.env` / `chat_backend_beta.env`: ALLOW_INTERNET_ACCESS=true SEARCH_PROVIDER=searxng SEARCH_FAILOVER_PROVIDER=ddgs -SEARXNG_BASE_URL=http://10.0.0.128:8080 +SEARXNG_BASE_URL=http://10.0.0.128:8088 ``` Firewall: allow `10.0.0.0/24` → `:8080` on the SearxNG host (same pattern as Ollama `:11434`). Verify from a backend container: ```bash -curl -sG 'http://10.0.0.128:8080/search' --data-urlencode 'q=test' -d 'format=json' | head +curl -sG 'http://10.0.0.128:8088/search' --data-urlencode 'q=test' -d 'format=json' | head ``` If SearxNG is down, chat still works for non-factual turns; factual turns that