-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (41 loc) · 1 KB
/
Copy pathdocker-compose.yml
File metadata and controls
43 lines (41 loc) · 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
services:
rag:
build:
context: ./app
container_name: markdown-rag
environment:
TIMEZONE: Europe/London
TZ: Europe/London
EMBED_MODEL: ${EMBED_MODEL:-nomic-ai/nomic-embed-text-v1.5}
VAULT_PATH: /vault
INDEX_PATH: /index/chroma
CHUNK_SIZE: "900"
CHUNK_OVERLAP: "150"
TOP_K: "5"
WATCH_DEBOUNCE_SECS: "3"
ANONYMIZED_TELEMETRY: "False"
CHROMA_TELEMETRY: "False"
REINDEX_ON_START: "true"
RETRIEVAL_POOL: "400"
volumes:
- ${HOST_VAULT_PATH}:/vault:ro
- chroma_index:/index
ports:
- "8000:8000"
command: ["/bin/bash", "/app/run.sh"]
watcher:
build:
context: ./app
container_name: markdown-rag-watcher
depends_on:
rag:
condition: service_started
environment:
WATCH_PATH: /vault
RAG_URL: http://rag:8000/reindex
WATCH_DEBOUNCE_SECS: "3"
volumes:
- ${HOST_VAULT_PATH}:/vault:ro
command: ["python", "watcher.py"]
volumes:
chroma_index: