-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
98 lines (98 loc) · 1.99 KB
/
Copy pathdocker-compose.yml
File metadata and controls
98 lines (98 loc) · 1.99 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
version: "3.9"
services:
frontend:
image: webui:latest
env_file:
- nlp.env
build:
context: ./src/webui/
dockerfile: Dockerfile
ports:
- "${UI_SERVICE_PORT}:${UI_SERVICE_PORT}"
environment:
NLP_SERVICE_URL: "http://specifier_nlp:${CORE_SERVICE_PORT}"
networks:
- inner
depends_on:
- specifier_nlp
specifier_nlp:
image: specifier_nlp:latest
env_file:
- nlp.env
build:
context: ./src/nlp/
dockerfile: Dockerfile
ports:
- "${CORE_SERVICE_PORT}:${CORE_SERVICE_PORT}"
volumes:
- "nlp_specifier_cache:/server/cache/"
networks:
- inner
environment:
SRL_SERVICE_URL: "http://srl:80/srl"
NER_SERVICE_URL: "http://ner:80/ner"
ner:
image: ner:latest
profiles:
- jml_nlp
env_file:
- nlp.env
build:
context: ./jml_nlp/ner_tool
dockerfile: ner.dockerfile
args:
- PUID=2000
- GUID=2000
- THREADS=4
depends_on:
- lima
environment:
SERVICE_PORT: ${SERVICE_PORT}
PKM_PORT: ${PKM_PORT}
PKM_USER: ${PKM_USER}
PKM_PASSWORD: ${PKM_PASSWORD}
networks:
- limanet
- inner
lima:
image: lima:latest
profiles:
- jml_nlp
env_file:
- nlp.env
build:
context: ./jml_nlp/ner_tool
dockerfile: lima.dockerfile
args:
- LIMAPUID=2001
- LIMAGUID=2001
networks:
- limanet
srl:
image: srl:latest
profiles:
- jml_nlp
build:
context: ./jml_nlp/srl_tool
dockerfile: dev.dockerfile
args:
- PUID=2020
- GUID=2020
- THREADS=4
environment:
SERVICE_NAME: "srl"
SERVICE_PORT: ${SERVICE_PORT}
PKM_PORT: ${PKM_PORT}
PKM_USER: ${PKM_USER}
PKM_PASSWORD: ${PKM_PASSWORD}
PKM_CERT: ${PKM_CERT}
networks:
- inner
networks:
inner:
name: "inner"
limanet:
driver: bridge
volumes:
nlp_specifier_cache:
external: false