-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 978 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
version: "3.9"
services:
falkordb:
image: falkordb/falkordb:latest
ports:
- "6379:6379"
- "3001:3000"
volumes:
- ./:/data/
stdin_open: true
tty: true
code-graph:
build: .
ports:
- "5000:5000"
depends_on:
- falkordb
environment:
- FALKORDB_HOST=falkordb
- FALKORDB_PORT=6379
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- SECRET_TOKEN=${SECRET_TOKEN:-}
- CODE_GRAPH_PUBLIC=1
# MCP stdio server — opt-in. Bring up with:
# docker compose run --rm -i code-graph-mcp
# then point Claude Code / Cursor at the running container's stdio.
code-graph-mcp:
build: .
depends_on:
- falkordb
profiles: ["mcp"]
stdin_open: true
tty: false
environment:
- CGRAPH_MODE=mcp
- FALKORDB_HOST=falkordb
- FALKORDB_PORT=6379
- MODEL_NAME=${MODEL_NAME:-gemini/gemini-flash-lite-latest}
- CODE_GRAPH_AUTO_INDEX=${CODE_GRAPH_AUTO_INDEX:-}