forked from HumanBehaviourChangeProject/Info-extract
-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
65 lines (58 loc) · 1.68 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
# on OSX you can access the various services on the host by modifying the address with host.docker.internal
# to run the docker compose, run the following command:
# docker-compose up --build
version: "3.8"
services:
hbcp-core:
container_name: hbcp-core
build:
context: ./core
#args:
#- ENTITIES_FOR_PREDICTION=src/main/resources/data/jsons/All_annotations_512papers_05March20_reduced.json
image: hbcp-core
ports:
- "8080:8080"
environment:
FLAIR_URL: hbcp-flair-tagger
FLAIR_PORT: 5000
PREDICTION_URL: hbcp-prediction-experiments
PREDICTION_PORT: 5001
PREDICTION_API_ONLY: "true"
hbcp-flair-tagger:
container_name: hbcp-flair-tagger
build: ./flair-tagger/flair
image: hbcp-flair-tagger
environment:
PORT: 5000
ports:
- "5000:5000"
hbcp-prediction-experiments:
container_name: hbcp-prediction-experiments
build: ./prediction-experiments
image: hbcp-prediction-experiments
depends_on:
- hbcp-core
volumes:
- prediction_tf_serving_models:/python-nb/ov-predict/tf_models/
environment:
PORT: 5001
TF_SERVING_HOSTNAME: hbcp-prediction-tf-serving
TF_SERVING_PORT: 8501
LOGGING_LEVEL: INFO
ports:
- "5001:5001"
hbcp-prediction-tf-serving:
container_name: hbcp-prediction-tf-serving
build: ./prediction-experiments/python-nb/ov-predict
image: hbcp-prediction-tf-serving
depends_on:
- hbcp-prediction-experiments
volumes:
- prediction_tf_serving_models:/models/
ports:
- "8501:8501"
volumes:
prediction_tf_serving_models:
driver_opts:
type: tmpfs
device: tmpfs