leankg 0.17.8

Lightweight Knowledge Graph for AI-Assisted Development
Documentation
# Local-only docker compose overrides. Copy to `.dockerfile` and edit.
# This file is .gitignored so user-specific host paths never leak.
#
# Usage:
#   cp .dockerfile.example .dockerfile
#   $EDITOR .dockerfile   # edit the paths
#   docker compose -f docker-compose.rocksdb.yml --env-file .dockerfile up -d
#
# All variables are optional. Defaults are set in docker-compose.rocksdb.yml.

# Absolute path to the LeanKG source tree on the host. Used as the primary
# project mount and the container's working directory.
HOST_PROJECT_PATH=/Users/linh.doan/work/harvey/freepeak/leankg

# Container path where HOST_PROJECT_PATH is mounted. Must match the path
# the entrypoint script cd's into before starting the MCP server.
CONTAINER_PROJECT_PATH=/workspace

# Path inside the container that the MCP server should serve by default.
# LEANKG_MCP_PROJECT is read by `leankg mcp-http --project <path>`.
# If LEANKG_PROJECT_DIRS is empty, the entrypoint falls back to CONTAINER_PROJECT_PATH.
LEANKG_MCP_PROJECT=/workspace
LEANKG_PROJECT_DIRS=/workspace

# Multiple projects: list the host:container pairs (one per line). The MCP
# server will scan and index every project listed in LEANKG_PROJECT_DIRS.
#
# Example — a second project on the side:
#   LEANKG_PROJECT_DIRS=/workspace /workspace-other
#   # Then add the matching bind mount via a docker compose override file
#   # (see `.dockerfile.example` and `docker compose --env-file`).
#
# For additional mounts, prefer a docker-compose override file alongside
# this .dockerfile rather than crowding the env list.