-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (53 loc) · 1.24 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (53 loc) · 1.24 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
services:
### Vector DB (Qdrant)
qdrant:
image: qdrant/qdrant
container_name: qdrant-vcell
ports:
- "6333:6333" # REST API
- "6334:6334" # gRPC API
volumes:
- qdrant-data:/qdrant/storage
restart: unless-stopped
### LiteLLM Proxy (OpenAI-compatible LLM gateway)
litellm:
image: ghcr.io/berriai/litellm:main-stable
container_name: litellm-vcellai
ports:
- "4000:4000"
volumes:
- ./litellm_config.yaml:/app/config.yaml
env_file:
- ./litellm.env
command: --config /app/config.yaml
restart: unless-stopped
### Backend (FastAPI with Poetry)
backend:
build: ./backend
container_name: vcell-backend
ports:
- "8000:8000"
depends_on:
- qdrant
volumes:
- ./backend:/app
command: ["sh", "-c", "poetry run uvicorn app.main:app --host 0.0.0.0 --port 8000"]
environment:
- QDRANT_URL=http://qdrant:6333
env_file:
- ./backend/.env
### Frontend (Next.js)
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: frontend-vcell
ports:
- "3000:3000"
depends_on:
- backend
env_file:
- ./frontend/.env
volumes:
qdrant-data:
driver: local