* Fix MCP server telemetry and update graphiti-core to v0.23.0 - Regenerate uv.lock in Docker builds to ensure posthog dependency is included - Update graphiti-core version to 0.23.0 across all configurations - Fix Python 3.11 compatibility for Pydantic TypedDict import - Add FalkorDB Browser UI access information to startup logs 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Add typing-extensions as explicit dependency Required for Python 3.11 compatibility with Pydantic 2.11.7, which mandates typing_extensions.TypedDict on Python < 3.12. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Use built-in TypedDict from typing module Python 3.10+ includes TypedDict in the standard library. Removed typing-extensions dependency as it's unnecessary. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Revert to typing_extensions.TypedDict for Pydantic compatibility Pydantic requires typing_extensions.TypedDict on Python < 3.12. Docker container uses Python 3.11, so this is necessary. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Add Ruff linter rule to prevent typing.TypedDict usage Adds banned-api configuration to both main and MCP server pyproject.toml files to enforce typing_extensions.TypedDict usage, required for Pydantic compatibility on Python < 3.12. Also includes Ruff auto-formatting changes to quote styles. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * Bump MCP server version to 1.0.1 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
services:
|
|
graphiti-falkordb:
|
|
image: zepai/knowledge-graph-mcp:latest
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
args:
|
|
GRAPHITI_CORE_VERSION: ${GRAPHITI_CORE_VERSION:-0.23.0}
|
|
MCP_SERVER_VERSION: ${MCP_SERVER_VERSION:-1.0.0}
|
|
BUILD_DATE: ${BUILD_DATE:-}
|
|
VCS_REF: ${VCS_REF:-}
|
|
env_file:
|
|
- path: ../.env
|
|
required: false
|
|
environment:
|
|
# FalkorDB configuration
|
|
- FALKORDB_PASSWORD=${FALKORDB_PASSWORD:-}
|
|
- BROWSER=${BROWSER:-1} # Enable FalkorDB Browser UI (set to 0 to disable)
|
|
# MCP Server configuration
|
|
- FALKORDB_URI=redis://localhost:6379
|
|
- FALKORDB_DATABASE=${FALKORDB_DATABASE:-default_db}
|
|
- GRAPHITI_GROUP_ID=${GRAPHITI_GROUP_ID:-main}
|
|
- SEMAPHORE_LIMIT=${SEMAPHORE_LIMIT:-10}
|
|
- CONFIG_PATH=/app/mcp/config/config.yaml
|
|
- PATH=/root/.local/bin:${PATH}
|
|
volumes:
|
|
- falkordb_data:/var/lib/falkordb/data
|
|
- mcp_logs:/var/log/graphiti
|
|
ports:
|
|
- "6379:6379" # FalkorDB/Redis
|
|
- "3000:3000" # FalkorDB web UI
|
|
- "8000:8000" # MCP server HTTP
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "-p", "6379", "ping"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
start_period: 15s
|
|
|
|
volumes:
|
|
falkordb_data:
|
|
driver: local
|
|
mcp_logs:
|
|
driver: local
|