forked from nlpsandbox/phi-deidentifier-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
89 lines (81 loc) · 2.34 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
version: "3.8"
services:
date-annotator:
image: docker.synapse.org/syn22277123/date-annotator-example:1.1.2
container_name: date-annotator
restart: always
networks:
- nlpsandbox-internal
person-name-annotator:
image: docker.synapse.org/syn22277123/person-name-annotator-example:1.1.2
container_name: person-name-annotator
restart: always
networks:
- nlpsandbox-internal
physical-address-annotator:
image: docker.synapse.org/syn22277123/physical-address-annotator-example:1.1.2
container_name: physical-address-annotator
restart: always
networks:
- nlpsandbox-internal
contact-annotator:
image: docker.synapse.org/syn22277123/contact-annotator-example:1.1.2
container_name: contact-annotator
restart: always
networks:
- nlpsandbox-internal
id-annotator:
image: docker.synapse.org/syn22277123/id-annotator-example:1.1.2
container_name: id-annotator
restart: always
networks:
- nlpsandbox-internal
phi-deidentifier:
image: docker.synapse.org/syn22277123/phi-deidentifier-example:1.1.0
build:
context: server
dockerfile: Dockerfile
container_name: phi-deidentifier
restart: always
env_file:
- .env
environment:
- DATE_ANNOTATOR_HOST=date-annotator
- DATE_ANNOTATOR_PORT=8080
- PERSON_NAME_ANNOTATOR_HOST=person-name-annotator
- PERSON_NAME_ANNOTATOR_PORT=8080
- PHYSICAL_ADDRESS_ANNOTATOR_HOST=physical-address-annotator
- PHYSICAL_ADDRESS_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
- physical-address-annotator
- contact-annotator
- id-annotator
nginx:
image: nginx:1.19.6-alpine
container_name: nginx
restart: always
environment:
- TOOL_HOST=phi-deidentifier
- TOOL_PORT=8080
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- ./nginx/templates:/etc/nginx/templates:ro
networks:
- nlpsandbox
- nlpsandbox-internal
ports:
- "${SERVER_PORT}:80"
depends_on:
- phi-deidentifier
networks:
nlpsandbox:
nlpsandbox-internal:
internal: true