forked from BMW-InnovationLab/BMW-Anonymization-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 1.09 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
version: "2.3"
services:
detection_api:
image: tensorflow_inference_api_cpu:latest
build:
context: ../BMW-TensorFlow-Inference-API-CPU
dockerfile: docker/dockerfile
volumes:
- ../BMW-TensorFlow-Inference-API-CPU/models:/models
- ../BMW-TensorFlow-Inference-API-CPU/models_hash:/models_hash
ports:
- "9998:4343"
segmentation_api:
image: gluoncv_segmentation_inference_api_cpu:latest
build:
context: ../BMW-Semantic-Segmentation-Inference-API-GPU-CPU
dockerfile: CPU/dockerfile
volumes:
- ../BMW-Semantic-Segmentation-Inference-API-GPU-CPU/models:/models
- ../BMW-Semantic-Segmentation-Inference-API-GPU-CPU/models_hash:/models_hash
runtime: nvidia
ports:
- "9999:4343"
environment:
- NVIDIA_VISIBLE_DEVICES=1
anonymization:
image: anonymization_api:latest
build:
context: .
dockerfile: docker/dockerfile
volumes:
- ./jsonFiles:/jsonFiles
- ./src/main:/main
ports:
- "9997:4343"
depends_on:
- detection_api
- segmentation_api