M8-T4 umgesetzt: GPT Researcher auf ghostnet-ki (backend :8086, frontend :8085) hinter IAP

- Rolle gpt_researcher + playbooks/research.yml; Images digest-gepinnt
  (gptresearcher/gpt-researcher sha256:8e0975ec.., gptr-nextjs sha256:69e7e2fa..)
- LLM via OPENAI_BASE_URL=http://llama-cpp:8080/v1, FAST/SMART/STRATEGIC_LLM=Production-Alias,
  Retriever duckduckgo, LLM_TIMEOUT=600; User=root (upstream compose), Volumes unter gptr/
- NPM-vHost: location / -> 8085, /api -> 8086 (600s), beide auth_request; firewall 8085+8086 nur NPM
- Verifiziert: research.yml idempotent changed=0, backend /docs 200, frontend 200,
  research/ + research/api/docs unauth -> 302 Keycloak, 8086 WAN geblockt

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-11-18 14:26:29 +01:00
parent c173012a6a
commit 6b42a460f4
12 changed files with 419 additions and 2 deletions
@@ -120,7 +120,7 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
10. E2E: Research-Auftrag in GPT Researcher läuft gegen llama.cpp +
SearXNG, Report mit Quellen; NPM-Timeouts für lange Läufe gesetzt.
## 5. Arbeitspakete (Stand 18.11.2026: M8-T1, T2, T3 umgesetzt und verifiziert)
## 5. Arbeitspakete (Stand 18.11.2026: M8-T1..T4 umgesetzt und verifiziert; M8-T5 Haertung/Abnahme offen)
| # | Paket | Ziel | Wo |
| --- | --- | --- | --- |
@@ -175,3 +175,17 @@ Internet → NPM (CT 103, 443) → auth_request-Subrequest an oauth2-proxy
https://research.ghostnet.selfhost.eu/` → 302 zu Keycloak
(`client_id=gnai-research`, scope openid+email+profile+groups). NPM-Admin-Creds
als `/etc/nginx-proxy-manager/api.env` (0600).
- **M8-T4 (GPT Researcher auf ghostnet-ki, 18.11.):** Rolle `gpt_researcher`,
Playbook `research.yml`. Images `gptresearcher/gpt-researcher` +
`gptresearcher/gptr-nextjs` (nur `latest` publiziert) digest-gepinnt:
backend `sha256:8e0975ec…`, frontend `sha256:69e7e2fa…`. Backend
`10.0.0.90:8086` (FastAPI), Frontend `10.0.0.90:8085` (NextJS), beide nur
von NPM (Firewall `gnmon_firewall_npm_only_ports` += 8085, 8086). LLM via
`OPENAI_BASE_URL=http://llama-cpp:8080/v1`, FAST/SMART/STRATEGIC_LLM =
Production-Alias; Retriever duckduckgo (keyless). Befunde: `User=root`
nötig (sonst PermissionError logs/app.log), Verify ohne curl (python3),
Unit-Start mit is-active-Check (idempotent `changed=0`). NPM-vHost: Location
`/` → 8085, `/api` → 8086 (600 s Timeouts), beide mit auth_request.
E2E: `research/` und `research/api/docs` unauth → 302 Keycloak; Backend
`/docs` 200 via NPM; 8086 von außen geblockt.