-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (51 loc) · 1.1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (51 loc) · 1.1 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
version: '3.8'
services:
valkey:
image: valkey/valkey:8.1.1-alpine
command: ["valkey-server", "--save", "", "--appendonly", "no"]
healthcheck:
test: ["CMD", "valkey-cli", "ping"]
interval: 10s
retries: 3
ports:
- "6379:6379"
volumes:
- valkey_data:/data
networks:
- agrama-network
faiss:
image: ghcr.io/facebookresearch/faiss-cpu:1.11.0
command: ["sleep", "infinity"]
networks:
- agrama-network
ollama:
image: ollama/ollama:latest
volumes:
- ./models:/root/.ollama/models
ports:
- "11434:11434"
networks:
- agrama-network
environment:
- OLLAMA_MODELS=qwen3:1.7b
command: ["ollama", "serve"]
agramad:
build:
context: .
dockerfile: ./docker/Dockerfile
depends_on:
valkey:
condition: service_healthy
environment:
- VALKEY_URL=redis://valkey:6379
- FAISS_HOST=faiss
- OLLAMA_URL=http://ollama:11434
ports:
- "8000:8000"
networks:
- agrama-network
networks:
agrama-network:
driver: bridge
volumes:
valkey_data: