forked from TheSpaghettiDetective/OctoPrint-Obico
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
55 lines (51 loc) · 1.46 KB
/
docker-compose.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
55
version: '3.7'
services:
op_python2:
hostname: octoprint_python2
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile.python2
ports:
- "${OP_PYTHON2_PORT-5002}:5000"
volumes:
- ./:/app
environment:
DEBUG: 'True'
JANUS_SERVER: 'janus'
depends_on:
- janus
command: bash -c "sleep 11111111111"
op:
hostname: octoprint
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile.python3
ports:
- "${OP_PYTHON3_PORT-5003}:5000"
volumes:
- ./:/app
environment:
DEBUG: 'True'
JANUS_SERVER: 'janus'
depends_on:
- janus
command: bash -c "sleep 11111111111"
janus:
hostname: janus
restart: unless-stopped
image: thespaghettidetective/janus:ubuntu-1.5
#command: sh -c "/opt/janus/bin/janus --stun-server=stun.l.google.com:19302"
command: sh -c "/opt/janus/bin/janus"
mjpeg:
hostname: mjpeg
restart: unless-stopped
image: thespaghettidetective/mjpg-streamer
ports:
- "${MJPEG_PORT-8080}:8080"
command: sh -c "/mjpg-streamer/mjpg_streamer -o '/mjpg-streamer/output_http.so -w /mjpg-streamer/www' -i '/mjpg-streamer/input_file.so -f /mjpg-streamer/jpgs -e -d 1'"
video:
restart: unless-stopped
image: thespaghettidetective/ffmpeg:ubuntu
command: bash -c "ffmpeg -f concat -re -i list.txt -c copy -bsf dump_extra -an -f rtp rtp://janus:17734?pkt_size=1300"