Files
2026-06-05 23:02:55 +01:00

31 lines
889 B
Bash

# Context7 Docs API Configuration
# Copy this file to .env and configure for your environment
# === Service Ports (optional - use if you need custom ports) ===
HOST_PORT=8787
MCP_HOST_PORT=8788
# === API Keys (optional - uncomment to enable auth) ===
# Docs API key for protecting endpoints like /search, /ingest, etc.
# DOCS_API_KEY=your-secret-docs-api-key
# MCP Server API key for protecting MCP tools via HTTP
# MCP_API_KEY=your-secret-mcp-server-key
# === Application Configuration ===
# Path to documentation files (relative to service container)
DOCS_PATH=/docs
# SQLite database path
DB_PATH=/data/db.sqlite
# Logging level: DEBUG, INFO, WARNING, ERROR
LOG_LEVEL=INFO
# === Vector Store ===
# Qdrant host and port (internal Docker network)
VECTOR_STORE_HOST=qdrant
VECTOR_STORE_PORT=6333
# === Git Sources (if using) ===
# See docs_sources.yaml for git source configuration