-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 858 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 858 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
services:
backend:
build:
context: .
dockerfile: backend/Dockerfile
container_name: rag-backend
volumes:
- ./data/uploaded_files:/app/data/uploaded_files
ports:
- "${API_PORT:-8000}:${API_PORT:-8000}"
env_file:
- .env
depends_on:
- qdrant
restart: always
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
container_name: rag-frontend
ports:
- "${FRONTEND_PORT:-5173}:80"
depends_on:
- backend
restart: always
qdrant:
image: qdrant/qdrant:latest
container_name: rag-vector-db
ports:
- "${QDRANT_API_PORT:-6333}:${QDRANT_API_PORT:-6333}"
- "${QDRANT_GRPC_PORT:-6334}:${QDRANT_GRPC_PORT:-6334}"
volumes:
- qdrant_storage:/qdrant/storage
restart: always
volumes:
qdrant_storage:
driver: local