30 lines
No EOL
908 B
YAML
30 lines
No EOL
908 B
YAML
services:
|
|
graphiti-mcp:
|
|
image: zepai/knowledge-graph-mcp:latest
|
|
build:
|
|
context: ..
|
|
dockerfile: docker/Dockerfile
|
|
env_file:
|
|
- path: ../.env
|
|
required: false
|
|
environment:
|
|
# Database configuration for KuzuDB - using persistent storage
|
|
- KUZU_DB=/data/graphiti.kuzu
|
|
- KUZU_MAX_CONCURRENT_QUERIES=10
|
|
# Application configuration
|
|
- GRAPHITI_GROUP_ID=${GRAPHITI_GROUP_ID:-main}
|
|
- SEMAPHORE_LIMIT=${SEMAPHORE_LIMIT:-10}
|
|
- CONFIG_PATH=/app/config/config.yaml
|
|
- PATH=/root/.local/bin:${PATH}
|
|
volumes:
|
|
- ../config/config-docker-kuzu.yaml:/app/config/config.yaml:ro
|
|
# Persistent KuzuDB data storage
|
|
- kuzu_data:/data
|
|
ports:
|
|
- "8000:8000" # Expose the MCP server via HTTP transport
|
|
command: ["uv", "run", "main.py"]
|
|
|
|
# Volume for persistent KuzuDB storage
|
|
volumes:
|
|
kuzu_data:
|
|
driver: local |