-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
70 lines (66 loc) · 1.53 KB
/
docker-compose.yml
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
58
59
60
61
62
63
64
65
66
67
68
69
70
services:
retrieve:
container_name: retrieve
build:
args:
PORT: 8005
SRC_DIR: retrieve
LITE_INDEX: 1
context: .
dockerfile: retrieve/Dockerfile
volumes:
- "./retrieve:/src"
- ~/.deeppavlov:/root/.deeppavlov
ports:
- 8005:8005
environment:
- CUDA_VISIBLE_DEVICES=7
text-based-generation:
container_name: text-based-generation
build:
args:
PORT: 8006
SRC_DIR: text_based_generation
RETRIEVE_ENDPOINT: http://retrieve:8005/respond
context: .
dockerfile: text_based_generation/Dockerfile
volumes:
- "./text_based_generation:/src"
- ~/.deeppavlov:/root/.deeppavlov
ports:
- 8006:8006
environment:
- CUDA_VISIBLE_DEVICES=7
graph-based-generation:
container_name: graph-based-generation
build:
args:
PORT: 8007
SRC_DIR: graph_based_generation
KBQA_ENDPOINT: http://kbqa:8008/respond
context: .
dockerfile: graph_based_generation/Dockerfile
volumes:
- "./graph_based_generation:/src"
- ~/.deeppavlov:/root/.deeppavlov
ports:
- 8007:8007
environment:
- CUDA_VISIBLE_DEVICES=7
kbqa:
container_name: kbqa
build:
args:
PORT: 8008
SRC_DIR: kbqa
LAN: EN
context: .
dockerfile: kbqa/Dockerfile
volumes:
- "./kbqa:/src"
- ~/.deeppavlov:/root/.deeppavlov
ports:
- 8008:8008
environment:
- CUDA_VISIBLE_DEVICES=7
version: '3.7'