-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
80 lines (73 loc) · 2.08 KB
/
compose.yaml
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
version: '2'
services:
redis:
image: docker.io/bitnami/redis:6.2
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
- REDIS_DISABLE_COMMANDS=FLUSHDB,FLUSHALL
expose:
- "6379"
ports:
- '6379:6379'
volumes:
- 'redis_data:/bitnami/redis/data'
helper:
image: vinbrain.azurecr.io/lung-segmentation:release.17
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
expose:
- "8080"
# chest-segmentation:
# image: vinbrain.azurecr.io/chest-segmentation:develop.148
# environment:
# REDIS_HOST: redis
# REDIS_PORT: 6379
# LUNGMASK_URL: http://helper:8080/images
# expose:
# - "8080"
chest-detection-0:
image: vinbrain.azurecr.io/chest-detection-cxx-0:release.latest
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
PREDICT_PIPELINES: nofinding,mdevice,edema,cavitation,covid
HELPER_PIPELINES: all
LUNGMASK_URL: http://helper:8080/images
# CHEST_SEG_URL: http://chest-segmentation:8080/images
expose:
- "8080"
chest-detection-1:
image: vinbrain.azurecr.io/chest-detection-cxx-1:release.latest
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
PREDICT_PIPELINES: cls,tubercolusis
HELPER_PIPELINES: all
LUNGMASK_URL: http://helper:8080/images
# CHEST_SEG_URL: http://chest-segmentation:8080/images
expose:
- "8080"
chest-ai-proxy:
image: vinbrain.azurecr.io/chest-ai-proxy:release.latest
depends_on:
- redis
- helper
# - chest-segmentation
- chest-detection-0
- chest-detection-1
environment:
REDIS_HOST: redis
REDIS_PORT: 6379
CHEST_DETECTION_URLS: http://chest-detection-0:8080/images;http://chest-detection-1:8080/images
CHEST_SEGMENTATION_URLS: http://chest-segmentation:8080/images
# CHEST_HELPER_URL: http://helper:8080/images
CACHE_ENCODE: jpg
ports:
- "8080:8080"
volumes:
- ${COMPOSE_MOUNT_DIR}:/home
volumes:
redis_data:
driver: local