-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
41 lines (38 loc) · 1001 Bytes
/
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: '3.3'
services:
object-detector-python:
image: $APP_NAME
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100k"
environment:
- PYTHONUNBUFFERED=1
- INFERENCE_HOST=inference-server
- INFERENCE_PORT=8501
- MODEL_PATH=${MODEL_PATH}
- OBJECT_LIST_PATH=/models/coco_labels.txt
volumes:
- /usr/lib/libvdostream.so.1:/usr/lib/libvdostream.so.1
- acap_dl-models:/models:ro
- /tmp:/output
- /var/run/dbus:/var/run/dbus:rw
inference-server:
image: ${INFERENCE_SERVER_IMAGE}
logging:
driver: "json-file"
options:
max-file: "5"
max-size: "100k"
command: ${INFERENCE_SERVER_COMMAND}
volumes:
- /usr/acap-root/lib:/host/lib
- acap_dl-models:/models:ro
- /run/dbus/system_bus_socket:/run/dbus/system_bus_socket
acap_dl-models:
image: $MODEL_NAME
volumes:
- acap_dl-models:/models
volumes:
acap_dl-models: {}