-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
52 lines (48 loc) · 1.08 KB
/
docker-compose.yml
File metadata and controls
52 lines (48 loc) · 1.08 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
networks:
capec-network:
driver: bridge
services:
server:
build:
context: .
dockerfile: src/docker-files/Dockerfile.server
ports:
- "127.0.0.1:8000:8000"
networks:
- capec-network
hostname: rag-server
volumes:
- ./src:/app/src
- ./capec-dataset:/app/capec-dataset
- ./.env:/app/.env
- ./src/index/index/:/app/src/index/index/
environment:
- TOKENIZERS_PARALLELISM=false
client:
build:
context: .
dockerfile: src/docker-files/Dockerfile.client
networks:
- capec-network
ports:
- "127.0.0.1:7860:7860"
environment:
- SERVER_HOST=rag-server
- SERVER_PORT=8000
volumes:
- ./src:/app/src
- ./client.py:/app/client.py
- ./client-requirements.txt:/app/client-requirements.txt
qdrant:
image: qdrant/qdrant:v0.10.1
ports:
- "127.0.0.1:6333:6333"
- "127.0.0.1:6334:6334"
volumes:
- qdrant_storage:/qdrant/storage
networks:
- capec-network
hostname: qdrant
volumes:
qdrant_storage:
driver: local