forked from chalmers-revere/opendlv-tutorial-kiwi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrpi-camera-x264-viewer-kiwi.yml
55 lines (48 loc) · 1.78 KB
/
rpi-camera-x264-viewer-kiwi.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
# Copyright (C) 2018 Christian Berger
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
version: '2'
services:
opendlv-device-camera-rpi:
container_name: rpi-camera
image: chalmersrevere/opendlv-device-camera-rpi-armhf:v0.0.5
restart: on-failure
ipc: "host"
privileged: true
volumes:
- /tmp:/tmp
command: "--name.i420=img.i420 --name.argb=img.argb --width=640 --height=480 --freq=20"
video-x264-encoder-armhf:
depends_on:
- opendlv-device-camera-rpi
container_name: x264-encoder
image: chalmersrevere/opendlv-video-x264-encoder-armhf:v0.0.2
restart: always
network_mode: "host"
ipc: "host"
volumes:
- /tmp:/tmp
command: "--cid=112 --name=img.i420 --width=640 --height=480"
opendlv-kiwi-view-webrtc-armhf:
container_name: opendlv-vehicle-view
image: chrberger/opendlv-kiwi-view-webrtc-multi:v0.0.6
restart: always
network_mode: "host"
volumes:
- ~/recordings:/opt/vehicle-view/recordings
- /var/run/docker.sock:/var/run/docker.sock
environment:
- OD4SESSION_CID=112
ports:
- "8081:8081"