-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathdocker-compose-inference_performance.yml
More file actions
executable file
·154 lines (144 loc) · 3.99 KB
/
docker-compose-inference_performance.yml
File metadata and controls
executable file
·154 lines (144 loc) · 3.99 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
networks:
scenescape-test:
secrets:
root-cert:
file: ${SECRETSDIR}/certs/scenescape-ca.pem
services:
ntpserv:
image: dockurr/chrony:4.8
networks:
scenescape-test:
restart: on-failure
broker:
image: eclipse-mosquitto:2.0.22
configs:
- source: mosquitto-secure
target: /mosquitto/config/mosquitto.conf
volumes:
- ${SECRETSDIR}:/mosquitto/secrets
networks:
scenescape-test:
aliases:
- broker.scenescape.intel.com
user: "${UID:-1000}:${GID:-1000}"
average-fps:
image: scenescape-manager:${VERSION:-latest}
command: ["/workspace/tests/perf_tests/scripts/inference_perf_test.sh"]
networks:
scenescape-test:
volumes:
- .:/workspace
secrets:
- source: root-cert
target: /run/secrets/certs/scenescape-ca.pem
entrypoint: ["/bin/bash", "-c"]
tty: true
restart: "no"
depends_on:
broker:
condition: service_started
retail-video:
condition: service_started
environment:
- DEBIAN_FRONTEND=noninteractive
init: true
mediaserver:
image: bluenviron/mediamtx:1.16.3
networks:
scenescape-test:
aliases:
- mediaserver
restart: always
pids_limit: 1000
retail-cams:
image: linuxserver/ffmpeg:version-8.0.1-cli
command: |
-nostdin
-re -stream_loop -1 -i /workspace/media/apriltag-cam1.ts
-re -stream_loop -1 -i /workspace/media/apriltag-cam2.ts
-map 0:v -c copy -f rtsp -rtsp_transport tcp rtsp://mediaserver:8554/retail-cam1
-map 1:v -c copy -f rtsp -rtsp_transport tcp rtsp://mediaserver:8554/retail-cam2
volumes:
- vol-sample-data:/workspace/media
networks:
scenescape-test:
depends_on:
- mediaserver
restart: always
pids_limit: 1000
retail-video:
image: docker.io/intel/dlstreamer-pipeline-server:2026.0.0-ubuntu24-rc3
privileged: true
networks:
scenescape-test:
tty: true
entrypoint: ["./run.sh"]
ports:
- "8080:8080"
devices:
- "/dev/dri:/dev/dri"
group_add:
- "109"
- "110"
- "992"
device_cgroup_rules:
- "c 189:* rmw"
- "c 209:* rmw"
- "a 189:* rwm"
depends_on:
broker:
condition: service_started
ntpserv:
condition: service_started
retail-cams:
condition: service_started
healthcheck:
test: ["CMD", "curl", "-I", "-s", "http://localhost:8080/pipelines"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
environment:
- RUN_MODE=EVA
- GENICAM=Balluff
- GST_DEBUG=1,gencamsrc:2
- ADD_UTCTIME_TO_METADATA=true
- APPEND_PIPELINE_NAME_TO_PUBLISHER_TOPIC=false
- MQTT_HOST=broker.scenescape.intel.com
- MQTT_PORT=1883
- REST_SERVER_PORT=8080
- HTTPS_PROXY=${HTTPS_PROXY}
- https_proxy=${https_proxy}
- HTTP_PROXY=${HTTP_PROXY}
- http_proxy=${http_proxy}
- NO_PROXY=mediaserver,${NO_PROXY}
- no_proxy=mediaserver,${no_proxy}
configs:
- source: retail-config
target: /home/pipeline-server/config.json
volumes:
- ./dlstreamer-pipeline-server/user_scripts:/home/pipeline-server/user_scripts
- vol-dlstreamer-pipeline-server-pipeline-root-retail:/var/cache/pipeline_root:uid=1999,gid=1999
- vol-sample-data:/home/pipeline-server/videos
- scenescape_vol-models:/home/pipeline-server/models
secrets:
- source: root-cert
target: certs/scenescape-ca.pem
restart: always
pids_limit: 1000
configs:
retail-config:
file: ./dlstreamer-pipeline-server/retail-config.json
mosquitto-secure:
file: ./dlstreamer-pipeline-server/mosquitto/mosquitto-secure.conf
volumes:
scenescape_vol-models:
external: true
vol-sample-data:
vol-dlstreamer-pipeline-server-pipeline-root-retail:
driver: local
driver_opts:
type: tmpfs
device: tmpfs