Point SEARXNG_BASE_URL at :8088 (dta_webapp owns :8080 on GPU host).
Aligns with server-infra#10 / PR #11 — SearxNG binds 8088 on ai-server-4080.
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ OLLAMA_BASE_URL=http://127.0.0.1:11434
|
|||||||
ALLOW_INTERNET_ACCESS=true
|
ALLOW_INTERNET_ACCESS=true
|
||||||
SEARCH_PROVIDER=searxng
|
SEARCH_PROVIDER=searxng
|
||||||
SEARCH_FAILOVER_PROVIDER=ddgs
|
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
|
# SEARXNG_TIMEOUT_SECONDS=8
|
||||||
|
|
||||||
# Email (SMTP2GO) — optional for local
|
# Email (SMTP2GO) — optional for local
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ ALLOW_INTERNET_ACCESS=true
|
|||||||
SEARCH_PROVIDER=searxng
|
SEARCH_PROVIDER=searxng
|
||||||
SEARCH_FAILOVER_PROVIDER=ddgs
|
SEARCH_FAILOVER_PROVIDER=ddgs
|
||||||
# Point at the SearxNG container/service on the LAN (see README "SearxNG").
|
# 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 (SMTP2GO)
|
||||||
EMAIL_HOST=mail.smtp2go.com
|
EMAIL_HOST=mail.smtp2go.com
|
||||||
|
|||||||
@@ -94,7 +94,7 @@ with `COMPOSE_DATABASE_URL` if needed.
|
|||||||
| `ALLOW_INTERNET_ACCESS` | `true` | optional | Gate for live web retrieval |
|
| `ALLOW_INTERNET_ACCESS` | `true` | optional | Gate for live web retrieval |
|
||||||
| `SEARCH_PROVIDER` | `searxng` | optional | Primary search provider (#62) |
|
| `SEARCH_PROVIDER` | `searxng` | optional | Primary search provider (#62) |
|
||||||
| `SEARCH_FAILOVER_PROVIDER` | `ddgs` | optional | Automatic failover |
|
| `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 |
|
| `EMAIL_HOST_*` | empty | yes (prod/beta) | SMTP2GO |
|
||||||
| `CAPTCHA_SECRET_KEY` | empty | recommended | |
|
| `CAPTCHA_SECRET_KEY` | empty | recommended | |
|
||||||
| `ENABLE_ACCOUNT_REGISTRATION` | `false` | optional | Self-serve sign-up; keep false until ready |
|
| `ENABLE_ACCOUNT_REGISTRATION` | `false` | optional | Self-serve sign-up; keep false until ready |
|
||||||
@@ -179,7 +179,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./searxng:/etc/searxng:rw
|
- ./searxng:/etc/searxng:rw
|
||||||
environment:
|
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:
|
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
|
ALLOW_INTERNET_ACCESS=true
|
||||||
SEARCH_PROVIDER=searxng
|
SEARCH_PROVIDER=searxng
|
||||||
SEARCH_FAILOVER_PROVIDER=ddgs
|
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
|
Firewall: allow `10.0.0.0/24` → `:8080` on the SearxNG host (same pattern as
|
||||||
Ollama `:11434`). Verify from a backend container:
|
Ollama `:11434`). Verify from a backend container:
|
||||||
|
|
||||||
```bash
|
```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
|
If SearxNG is down, chat still works for non-factual turns; factual turns that
|
||||||
|
|||||||
Reference in New Issue
Block a user