-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
56 lines (54 loc) · 1.79 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
56 lines (54 loc) · 1.79 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
services:
# ── Qdrant Vector Database ──────────────────────────────────────
qdrant:
image: qdrant/qdrant:v1.13.6
container_name: qdrant
restart: unless-stopped
ports:
- "6333:6333" # REST API
- "6334:6334" # gRPC
volumes:
- qdrant_data:/qdrant/storage
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
deploy:
resources:
limits:
memory: 1G
cpus: "2"
# ── Qdrant MCP Server ──────────────────────────────────────────
qdrant-mcp:
build:
context: .
dockerfile: Dockerfile
container_name: qdrant-mcp
restart: unless-stopped
depends_on:
qdrant:
condition: service_started
ports:
- "8090:8090"
extra_hosts:
# Allows the MCP container to reach services on the Docker host
# (e.g., Ollama on localhost:11434). Works on Linux, macOS, and Windows.
- "host.docker.internal:host-gateway"
environment:
- TZ=America/Chicago
# Point at the bundled Qdrant service by container name
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
# Default: Ollama on the Docker host via host.docker.internal
- EMBED_BASE_URL=http://host.docker.internal:11434/v1
# Override these for your embedding provider:
# - EMBED_BASE_URL=https://api.openai.com/v1
# - EMBED_MODEL=text-embedding-3-small
# - EMBED_API_KEY=sk-...
deploy:
resources:
limits:
memory: 512M
cpus: "2"
volumes:
qdrant_data:
# Persists across container restarts, rebuilds, and docker compose down.
# Only destroyed by: docker volume rm qdrant-mcp_qdrant_data