forked from AirenSoft/OvenMediaEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (43 loc) · 1.17 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
version: '3.7'
services:
origin:
build:
context: .
image: airensoft/ovenmediaengine:latest
ports:
- "1935:1935/tcp"
- "3333:3333/tcp"
- "3478:3478/tcp"
- "8080:8080/tcp"
- "9000:9000/tcp"
- "9999:9999/udp"
- "4000-4005:4000-4005/udp"
- "10006-10010:10006-10010/udp"
environment:
- OME_ORIGIN_PORT=9000
- OME_RTMP_PROV_PORT=1935
- OME_SRT_PROV_PORT=9999
- OME_MPEGTS_PROV_PORT=4000-4005/udp
- OME_HLS_STREAM_PORT=8080
- OME_DASH_STREAM_PORT=8080
- OME_SIGNALLING_PORT=3333
- OME_TCP_RELAY_ADDRESS=*:3478
- OME_ICE_CANDIDATES=*:10006-10010/udp
command: /opt/ovenmediaengine/bin/OvenMediaEngine -c origin_conf
edge:
build:
context: .
image: airensoft/ovenmediaengine:latest
ports:
- "3334:3334/tcp"
- "3479:3479/tcp"
- "8090:8090/tcp"
- "10000-10005:10000-10005/udp"
environment:
- DEFAULT_ORIGIN_SERVER=192.168.0.160
- OME_HLS_STREAM_PORT=8090
- OME_DASH_STREAM_PORT=8090
- OME_SIGNALLING_PORT=3334
- OME_TCP_RELAY_ADDRESS=*:3479
- OME_ICE_CANDIDATES=*:10000-10005/udp
command: /opt/ovenmediaengine/bin/OvenMediaEngine -c edge_conf