Files
context-kit/.env.example

36 lines
1.4 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
# Local-only SearXNG secret. Set this to any random string if you expose SearXNG
# beyond localhost, which the default setup does not do.
CONTEXT_KIT_SEARXNG_SECRET=change-me-local-only
# 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