Prepare for public release: AGPL license, curl installer, bearer-token auth
- LICENSE: AGPL-3.0 - install.sh: curl-pipeable bootstrap for Linux/macOS (VPS/LXC) — installs Docker if missing, clones, generates strong LWSS_API_KEY + SearXNG secret, compose up, prints the ready-to-run 'claude mcp add' command; idempotent and preserves .env on re-run - auth: optional bearer token (LWSS_API_KEY) on all orchestrator MCP + REST requests via middleware; /health exempt; empty key disables auth (LAN only); constant-time compare - compose: configurable bind address (ORCHESTRATOR_BIND, default 0.0.0.0) so the endpoint can stay localhost-only behind a tunnel; API key plumbed through - docker-compose.override.yml pattern (gitignored) + .example for machine-local config like LAN SearXNG extra_hosts - README: install one-liner, auth + security (SSRF/tunnel) notes, license - PRD: auth documented in §8; multi-tenant non-goal clarified Verified: auth rejects unauthenticated REST + MCP (401), passes with a valid bearer token, /health stays open; full dockerized stack healthy; MCP client connects only with the Authorization header. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
4bcbe8daff
commit
e6c2cc1e8c
11 changed files with 949 additions and 11 deletions
8
PRD.md
8
PRD.md
|
|
@ -69,7 +69,9 @@ functional Tavily replacement via MCP** — that is the acceptance bar.
|
|||
cleaned text is returned as-is.
|
||||
- Truly airgapped search or a self-built web index — search is open-web only.
|
||||
- Anti-bot/CAPTCHA defeat, residential proxy pools. Partial coverage is accepted.
|
||||
- Multi-tenant auth / user accounts.
|
||||
- Multi-tenant auth / user accounts. (A single shared bearer token gating the
|
||||
orchestrator IS provided for exposed deployments — see §8 — but there are no
|
||||
per-user accounts, scopes, or quotas.)
|
||||
- SearXNG instance rotation / fan-out / VPS obfuscation and the config UI —
|
||||
deferred past MVP (see §4, §10). MVP uses a single local instance.
|
||||
|
||||
|
|
@ -203,6 +205,10 @@ local)**, renderer, extractor, redis.
|
|||
- **Health:** `GET /health` on every service; orchestrator aggregates.
|
||||
- **Tracing:** per-stage timings + cache hit/miss + degraded-stage list returned
|
||||
to caller.
|
||||
- **Auth (exposed deployments):** optional single bearer token (`LWSS_API_KEY`)
|
||||
required on all orchestrator MCP + REST requests; `/health` exempt. Empty key
|
||||
disables auth (trusted/LAN only). Bind address configurable so the endpoint
|
||||
can stay localhost-only behind a private tunnel (Tailscale/WireGuard/Cloudflared).
|
||||
- **Config:** env-driven; instance list via mounted file.
|
||||
- **Resource limits:** per-container CPU/RAM limits in compose; renderer
|
||||
concurrency cap enforced.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue