-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
79 lines (79 loc) · 1.97 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
services:
articlequality:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/articlequality/blubber.yaml
target: production
image: articlequality:prod
ports:
- "8080:8080"
environment:
MODEL_NAME: "articlequality"
volumes:
- ${PATH_TO_ARTICLE_QUALITY_MODEL:-/dummy/path}:/mnt/models/
reference-need:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/reference_quality/blubber.yaml
target: production
image: ref:prod
ports:
- "8080:8080"
environment:
BATCH_SIZE: "16"
MODEL_TO_DEPLOY: "reference-need"
NUM_OF_WORKERS: 2
volumes:
- ${PATH_TO_REFERENCE_NEED_MODEL:-/dummy/path}:/mnt/models/
reference-risk:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/reference_quality/blubber.yaml
target: production
image: ref:prod
ports:
- "8080:8080"
environment:
MODEL_TO_DEPLOY: "reference-risk"
NUM_OF_WORKERS: 1
volumes:
- ${PATH_TO_REFERENCE_RISK_MODEL:-/dummy/path}:/mnt/models/
edit-check:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/edit_check/blubber.yaml
target: production
image: edit-check:prod
ports:
- "8080:8080"
environment:
MODEL_NAME: "edit-check"
MODEL_VERSION: "v1"
volumes:
- ${PATH_TO_EDIT_CHECK_MODEL:-/dummy/path}:/mnt/models/
edit-check-cpu:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/edit_check/blubber_cpu.yaml
target: production
image: edit-check:cpu
ports:
- "8080:8080"
environment:
MODEL_NAME: "edit-check"
MODEL_VERSION: "v1"
ENVIRONMENT: "dev"
volumes:
- ${PATH_TO_EDIT_CHECK_MODEL:-/dummy/path}:/mnt/models/
edit-check-test:
platform: linux/amd64
build:
context: .
dockerfile: .pipeline/edit_check/blubber.yaml
target: test
image: edit-check:test