-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 1.06 KB
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 1.06 KB
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
services:
api:
build: .
ports:
- "8000:8000"
environment:
- LLM_API_BASE=${LLM_API_BASE:-http://host.docker.internal:8080/v1}
- LLM_MODEL=${LLM_MODEL:-Qwen2.5-Coder-3B-Instruct-Q5_K_M}
- LLM_EMBED_MODEL=${LLM_EMBED_MODEL:-nomic-embed}
- LLM_EMBED_SIZE=${LLM_EMBED_SIZE:-768}
- LLM_API_KEY=${LLM_API_KEY:-ABCD1234}
- SKIP_VECTOR_SEARCH=${SKIP_VECTOR_SEARCH:-true}
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
command: uvicorn app.main:app --host 0.0.0.0 --port 8000
depends_on:
- qdrant
mcp-server:
build: .
command: cardea run -p 0.0.0.0:3000 -- python app/mcp_tools.py
ports:
- "3000:3000"
environment:
- API_HOST=api # Use service name within Docker network
- API_PORT=8000
- MCP_TRANSPORT=stdio # We use openmcp to map the STDIO MCP server to SSE on our desired port
depends_on:
- api
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
volumes:
- ./qdrant_data:/qdrant/storage
environment:
- AUTH_DISABLED=true