-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
54 lines (54 loc) · 1.29 KB
/
compose.yaml
File metadata and controls
54 lines (54 loc) · 1.29 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
services:
postgres:
image: postgres:16
ports:
- "15432:5432"
volumes:
- ./postgres_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD
qdrant:
image: qdrant/qdrant:v1.8.0
ports:
- "6333:6333"
volumes:
- ./qdrant_data:/qdrant/storage:z
# NOTE: not used rigt now, but supported in the code
# sonic:
# image: valeriansaliou/sonic:v1.4.8
# ports:
# - "1491:1491"
# volumes:
# - ./sonic_data:/var/lib/sonic/store:z
# - ./sonic_config.cfg:/etc/sonic.cfg:ro
document_storage:
build: document_storage
ports:
- "8000:8000"
volumes:
- ./sbert_data:/sbert_data:z
environment:
- POSTGRES_CONNECTION_STRING=postgresql://postgres:secretpassword@postgres:5432/postgres
- QDRANT_CONNECTION_STRING=http://qdrant:6333
- INDEX_MODE=QDRANT
- SENTENCE_TRANSFORMERS_HOME=/app/sbert_data
depends_on:
- postgres
- qdrant
# - sonic
ollama:
image: ollama/ollama
ports:
- "11434:11434"
volumes:
- ./ollama_data:/root/.ollama
qa:
build: qa
ports:
- "8090:8090"
environment:
- OLLAMA_URL=http://ollama:11434
- DOCUMENT_STORAGE_URL=http://document_storage:8000
depends_on:
- ollama
- document_storage