-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
30 lines (29 loc) · 970 Bytes
/
docker-compose.yaml
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
services:
orthus-relay:
privileged: true
network_mode: "host"
restart: always
image: jackmead515/orthus-relay:0.0.4-arch
ports:
- "5454:5454"
environment:
- NODE_ENV=prod
- STREAM_HOST=0.0.0.0
- HTTP_HOST=0.0.0.0
orthus-app:
privileged: true
network_mode: "host"
restart: always
volumes:
- /dev/:/dev/
- /home/user/Documents/recordings/:/data/
image: jackmead515/orthus-app:0.0.4-arch
ports:
- "8000:8000"
environment:
- STREAM_NAME=zedorthus
- STREAM_HOST=0.0.0.0
- STREAM_PORT=3131
- STREAM_CONFIG="ffmpeg -an -f v4l2 -i /dev/video0 -video_size 2560x720 -framerate 30 -threads 4 -f tee -map 0:v -f segment -vcodec mjpeg -qscale:v 3 -segment_time 10 -reset_timestamps 1 -strftime 1 zedorthus_%s.mp4 -map 0:v -f mpegts -vcodec mpeg1video -qscale:v 18 -vf \"crop=(iw/2):ih:0:0\" udp://0.0.0.0:3131"
- RECORD_DIRECTORY=/data
- DEBUG=true