-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 887 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
36 lines (34 loc) · 887 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
33
34
35
36
services:
qdrant:
image: qdrant/qdrant:latest
restart: unless-stopped
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
rag-backend:
build:
context: .
dockerfile: rag_backend/Dockerfile
restart: unless-stopped
ports:
- "8000:8000"
environment:
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- REPO_MODE=${REPO_MODE:-monorepo}
- MONOREPO_URL=${MONOREPO_URL}
- OPENROUTER_API_KEY=${OPENROUTER_API_KEY}
- GEMINI_API_KEY=${GEMINI_API_KEY}
- LLM_MODEL=${LLM_MODEL:-google/gemma-4-31b-it:free}
- QDRANT_COLLECTION=${QDRANT_COLLECTION:-codebase}
- HF_TOKEN=${HF_TOKEN}
- GITHUB_TOKEN=${GITHUB_TOKEN}
volumes:
- ./cloned_repos:/app/cloned_repos
- hf_cache:/root/.cache/huggingface
depends_on:
- qdrant
volumes:
qdrant_data:
hf_cache: