51 lines
2.1 KiB
Plaintext
51 lines
2.1 KiB
Plaintext
# Copy to .env to override local defaults.
|
|
|
|
# Where Context Kit stores docs indexes and model caches.
|
|
# Default: $HOME/.local/share/context-kit
|
|
# CONTEXT_KIT_DATA_DIR=/path/to/context-kit-data
|
|
|
|
# Docker Compose project name. This controls the Docker network name.
|
|
CONTEXT_KIT_COMPOSE_PROJECT=context-kit
|
|
|
|
# Local SearXNG port. Bound to 127.0.0.1 only.
|
|
CONTEXT_KIT_SEARXNG_PORT=8099
|
|
|
|
# Max bytes accepted and downloaded by context-web-search fetch_url.
|
|
# Keep this aligned with agent tool-call defaults to avoid schema rejections.
|
|
CONTEXT_KIT_WEB_SEARCH_MAX_BYTES=52428800
|
|
|
|
# Web-search defaults. Search uses SearXNG first, then falls back to
|
|
# DuckDuckGo and Bing. Bing requires Chromium inside the web-search image.
|
|
CONTEXT_KIT_WEB_SEARCH_PROVIDER=searxng
|
|
CONTEXT_KIT_WEB_SEARCH_HTTP_TIMEOUT=15000
|
|
CONTEXT_KIT_WEB_SEARCH_MAX_RESULTS=10
|
|
CONTEXT_KIT_WEB_SEARCH_CHROME_PATH=/usr/bin/chromium
|
|
# User agent used by the Chromium-backed Bing search fallback.
|
|
# CONTEXT_KIT_WEB_SEARCH_BROWSER_USER_AGENT="Mozilla/5.0 ..."
|
|
# CONTEXT_KIT_WEB_SEARCH_MCP_COMPAT_MODE=legacy
|
|
|
|
# Long-lived context-docs HTTP MCP service. Bound to 127.0.0.1 only.
|
|
CONTEXT_KIT_DOCS_PORT=8776
|
|
# Override only if you proxy the service behind another hostname or path.
|
|
# CONTEXT_KIT_DOCS_HTTP_URL=http://127.0.0.1:8776/mcp
|
|
# Browser CORS is disabled by default. If a browser-based local client needs
|
|
# access, set one or more exact origins separated by spaces. Avoid `*`.
|
|
# CONTEXT_KIT_DOCS_ALLOW_ORIGIN=http://127.0.0.1:3000
|
|
|
|
# Docs indexing defaults.
|
|
CONTEXT_KIT_DOCS_TTL=24h
|
|
CONTEXT_KIT_DOCS_MAX_GET_BYTES=75000
|
|
CONTEXT_KIT_DOCS_EMBED_MODEL=BAAI/bge-small-en-v1.5
|
|
|
|
# Eagerly index every source on container start. Off by default so startup is
|
|
# fast; call the docs_refresh MCP tool when you want to populate the index.
|
|
# CONTEXT_KIT_DOCS_PREINDEX=1
|
|
|
|
# One or more source files, separated by spaces.
|
|
CONTEXT_KIT_DOCS_SOURCES=config/sources.default.txt
|
|
|
|
# Optional machine-local llms.txt tree. Files are served only inside docs-mcp at
|
|
# http://127.0.0.1:8769/ so absolute local paths do not leak into source files.
|
|
# CONTEXT_KIT_DOCS_LOCAL_SOURCES_DIR=/path/to/context-kit-local-sources
|
|
# CONTEXT_KIT_DOCS_LOCAL_SOURCES_PORT=8769
|