-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (41 loc) · 925 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (41 loc) · 925 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
37
38
39
40
41
42
43
44
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
### 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