# 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 . 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