22 lines
648 B
YAML
22 lines
648 B
YAML
version: '3.7'
|
|
|
|
# All keys here are for dev instance only, do not put prod keys here
|
|
# To override and use inventory from prod use .env file
|
|
|
|
services:
|
|
camtiler:
|
|
restart: always
|
|
network_mode: host
|
|
build:
|
|
context: .
|
|
entrypoint: /app/camtiler.py
|
|
command: http://127.0.0.1:8080?action=stream http://127.0.0.2:8080?action=stream http://127.0.0.3:8080?action=stream http://127.0.0.4:8080?action=stream
|
|
|
|
mjpg-streamer:
|
|
network_mode: host
|
|
restart: always
|
|
image: kvaps/mjpg-streamer
|
|
devices:
|
|
- /dev/video0
|
|
command: -i "/usr/lib64/input_uvc.so -y -d /dev/video0 -r 1280x720 -f 30" -o "output_http.so"
|