-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.example.yml
More file actions
32 lines (31 loc) · 957 Bytes
/
Copy pathdocker-compose.example.yml
File metadata and controls
32 lines (31 loc) · 957 Bytes
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
services:
obsidian-rag:
build: .
container_name: obsidian-rag
ports:
- "8082:8080"
volumes:
# Replace with your Obsidian vault path
- "/path/to/your/obsidian/vault:/vault:ro"
- rag-chroma-data:/data/chroma
- rag-model-cache:/root/.cache
environment:
VAULT_PATH: /vault
CHROMA_PATH: /data/chroma
# Ollama must be running on host
OLLAMA_HOST: http://host.docker.internal:11434
# Embedding model (must be pulled in Ollama first)
EMBED_MODEL: qwen3-embedding
# Contextual chunking (empty = disabled, set to LLM model name to enable)
CONTEXT_MODEL: ""
# Cross-encoder reranking
RERANK_ENABLED: "true"
# File watcher (auto re-index on vault changes)
WATCHER_ENABLED: "true"
WATCHER_DEBOUNCE: "5"
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
volumes:
rag-chroma-data:
rag-model-cache: