open-notebook/docs/5-CONFIGURATION
Luis Novo fcfd2afdb4
fix(proxy): keep internal SurrealDB websocket out of HTTP proxy (#1185)
* fix(proxy): keep internal SurrealDB websocket out of HTTP proxy (#1160)

websockets 15.0 auto-detects HTTP_PROXY/HTTPS_PROXY and tunnels even
ws:// connections through the proxy. The SurrealDB SDK connects over a
websocket, so with a proxy set the internal DB connection was routed
through the external proxy, which rejected the internal host with HTTP
403 and killed the worker/API on startup.

- Add ensure_internal_no_proxy() helper that merges host.docker.internal,
  surrealdb, localhost, 127.0.0.1 into no_proxy/NO_PROXY (never clobbering
  a user value) and call it at API, worker and DB-module startup.
- Add host.docker.internal and surrealdb to the .env.example and docs
  NO_PROXY examples.
- Add unit tests for the injection helper.

* fix(proxy): preserve NO_PROXY wildcard and include custom SurrealDB host (#1160)

Address review findings on the no_proxy injection:

- NO_PROXY=* (bypass all hosts) is now treated as terminal: leave the
  user's config untouched instead of narrowing the wildcard to a finite
  list by appending the internal hosts.
- Parse the SurrealDB host from SURREAL_URL (falling back to
  SURREAL_ADDRESS) and add it to the bypass list, so deployments with a
  custom DB host/IP no longer route DB traffic through the proxy. Unset
  or malformed values fall back to the four defaults gracefully.
- Drop the inaccurate getproxies() caching remark in the test.
2026-07-19 18:11:00 -03:00
..
advanced.md feat(sources): opt-in Docling + Crawl4AI runtimes installed at startup (#1122) (#1123) 2026-07-13 08:26:20 -03:00
ai-providers.md feat: add anthropic_compatible credential provider (#1043) 2026-07-19 15:14:17 -03:00
database.md docs: stop teaching 0.0.0.0 SurrealDB port exposure in setup snippets (#1060) 2026-07-12 08:42:52 -03:00
environment-reference.md fix(proxy): keep internal SurrealDB websocket out of HTTP proxy (#1185) 2026-07-19 18:11:00 -03:00
index.md feat: add first-class oMLX provider via Esperanto profile (#1164) 2026-07-19 15:02:14 -03:00
local-stt.md feat: credential-based API key management (#477) (#540) 2026-02-10 08:30:22 -03:00
local-tts.md feat: credential-based API key management (#477) (#540) 2026-02-10 08:30:22 -03:00
mcp-integration.md feat: add MCP integration documentation to README and create dedicated MCP integration guide 2026-01-09 08:14:39 -03:00
ollama.md docs: add surrealdb service notes to docker-compose snippets 2026-04-06 08:15:33 -03:00
omlx.md feat: add first-class oMLX provider via Esperanto profile (#1164) 2026-07-19 15:02:14 -03:00
openai-compatible.md feat: add first-class oMLX provider via Esperanto profile (#1164) 2026-07-19 15:02:14 -03:00
reverse-proxy.md fix(docker): force frontend bind address in supervisord so injected HOSTNAME can't break it (#1059) 2026-07-12 09:30:38 -03:00
security.md chore: remove dead auth helper and fix stale default-password docs (#1026) 2026-07-10 15:47:40 -03:00