forked from AirenSoft/OvenMediaEngine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
50 lines (48 loc) · 1.63 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
version: '3.6'
services:
origin:
build:
context: .
image: airensoft/ovenmediaengine:latest
ports:
- "9000:9000/tcp" # OVT(Origin)
- "1935:1935/tcp" # RTMP Provider
- "9999:9999/udp" # SRT
- "3333:3333/tcp" # WebRTC Signaling / LLHLS
- "3478:3478/tcp" # WebRTC TURN
- "10000-10004:10000-10004/udp" # WebRTC Candidate
environment:
- OME_HOST_IP=192.168.0.160
- OME_ORIGIN_PORT=9000
- OME_RTMP_PROV_PORT=1935
- OME_SRT_PROV_PORT=9999
- OME_LLHLS_STREAM_PORT=3333
- OME_WEBRTC_SIGNALLING_PORT=3333
- OME_WEBRTC_TCP_RELAY_PORT=3478
- OME_WEBRTC_CANDIDATE_PORT=10000-10004/udp
restart: always
# Uncomment the following line to use your own configuration file (./origin_conf/Server.xml)
#volumes:
#- ./origin_conf:/opt/ovenmediaengine/bin/origin_conf
command: /opt/ovenmediaengine/bin/OvenMediaEngine -c origin_conf
edge:
build:
context: .
image: airensoft/ovenmediaengine:latest
ports:
- "4333:3333/tcp" # WebRTC Signaling / LLHLS
- "3479:3479/tcp" # WebRTC TURN
- "10005-10009:10005-10009/udp" # WebRTC Candidate
environment:
- OME_HOST_IP=192.168.0.160
- DEFAULT_ORIGIN_SERVER=192.168.0.160
- DEFAULT_ORIGIN_PORT=9000
- OME_LLHLS_STREAM_PORT=3333
- OME_WEBRTC_SIGNALLING_PORT=3333
- OME_WEBRTC_TCP_RELAY_PORT=3479
- OME_WEBRTC_CANDIDATE_PORT=10005-10009/udp
restart: always
# Uncomment the following line to use your own configuration file (./edge_conf/Server.xml)
#volumes:
#- ./edge_conf:/opt/ovenmediaengine/bin/edge_conf
command: /opt/ovenmediaengine/bin/OvenMediaEngine -c edge_conf