-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (75 loc) · 1.85 KB
/
docker-compose.yml
File metadata and controls
78 lines (75 loc) · 1.85 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
services:
qdrant:
image: qdrant/qdrant:v1.11.3
container_name: engram-qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_storage:/qdrant/storage
environment:
- QDRANT__SERVICE__HTTP_PORT=6333
- QDRANT__SERVICE__GRPC_PORT=6334
- QDRANT__LOG_LEVEL=INFO
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "bash -c ':> /dev/tcp/localhost/6333' || exit 1"]
interval: 30s
timeout: 10s
retries: 3
fastembed:
build:
context: ./docker/fastembed
dockerfile: Dockerfile
container_name: engram-fastembed
ports:
- "11435:8000"
environment:
- MODEL_NAME=nomic-ai/nomic-embed-text-v1.5
- MAX_WORKERS=1
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
deploy:
resources:
limits:
memory: 2G
reservations:
memory: 512M
mcp:
build:
context: .
dockerfile: docker/mcp/Dockerfile
container_name: engram-mcp
ports:
- "8585:8585"
environment:
- QDRANT_URL=http://qdrant:6333
- FASTEMBED_URL=http://fastembed:8000
- COLLECTION_NAME=agent-memory
- DATA_DIR=/data/engram
- ENGRAM_API_KEY=${ENGRAM_API_KEY:-}
- ENGRAM_API_URL=${ENGRAM_API_URL:-https://api.engrammemory.ai}
volumes:
- engram_state:/data/engram
depends_on:
qdrant:
condition: service_healthy
fastembed:
condition: service_healthy
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8585/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
qdrant_storage:
driver: local
engram_state:
driver: local