-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
105 lines (96 loc) · 2.96 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
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
99
100
101
102
103
104
105
version: "3.8"
services:
date-annotator:
# image: docker.synapse.org/syn22277123/date-annotator-example:1.2.0
image: docker.synapse.org/syn22277123/phi-annotator-neuroner:1.1.1
container_name: date-annotator
restart: always
networks:
- nlpsandbox-internal
person-name-annotator:
# image: docker.synapse.org/syn22277123/person-name-annotator-example:1.2.0
image: docker.synapse.org/syn22277123/phi-annotator-huggingface-bert-base-ner-uncased:1.2.0
container_name: person-name-annotator
restart: always
networks:
- nlpsandbox-internal
location-annotator:
image: docker.synapse.org/syn22277123/location-annotator-example:1.2.0
container_name: location-annotator
restart: always
networks:
- nlpsandbox-internal
contact-annotator:
# image: docker.synapse.org/syn22277123/contact-annotator-example:1.2.0
image: docker.synapse.org/syn22277123/phi-annotator-neuroner:1.1.1
container_name: contact-annotator
restart: always
networks:
- nlpsandbox-internal
id-annotator:
# image: docker.synapse.org/syn22277123/id-annotator-example:1.2.0
image: docker.synapse.org/syn22277123/phi-annotator-neuroner:1.1.1
container_name: id-annotator
restart: always
networks:
- nlpsandbox-internal
phi-deidentifier:
image: docker.synapse.org/syn22277123/phi-deidentifier-example:1.3.0
container_name: phi-deidentifier
restart: always
environment:
- DATE_ANNOTATOR_HOST=date-annotator
- DATE_ANNOTATOR_PORT=8080
- PERSON_NAME_ANNOTATOR_HOST=person-name-annotator
- PERSON_NAME_ANNOTATOR_PORT=8080
- LOCATION_ANNOTATOR_HOST=location-annotator
- LOCATION_ANNOTATOR_PORT=8080
- CONTACT_ANNOTATOR_HOST=contact-annotator
- CONTACT_ANNOTATOR_PORT=8080
- ID_ANNOTATOR_HOST=id-annotator
- ID_ANNOTATOR_PORT=8080
networks:
- nlpsandbox-internal
depends_on:
- date-annotator
- person-name-annotator
- location-annotator
phi-deidentifier-app:
image: nlpsandbox/phi-deidentifier-app:1.1.0
build:
context: client
dockerfile: Dockerfile
container_name: phi-deidentifier-app
environment:
- SERVER_PORT=${SERVER_PORT}
- SERVER_PROTOCOL=${SERVER_PROTOCOL}
- SERVER_HOST=${SERVER_HOST}
- SERVER_API_PATH=${SERVER_API_PATH}
restart: always
networks:
- nlpsandbox-internal
depends_on:
- phi-deidentifier
nginx:
image: nginx:1.19.6-alpine
container_name: nginx
restart: always
environment:
- SERVER_HOST=phi-deidentifier
- SERVER_PORT=8080
- CLIENT_HOST=phi-deidentifier-app
- CLIENT_PORT=80
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/templates:/etc/nginx/templates:ro
networks:
- nlpsandbox
- nlpsandbox-internal
ports:
- "80:80"
depends_on:
- phi-deidentifier-app
networks:
nlpsandbox:
nlpsandbox-internal:
internal: true