-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
67 lines (67 loc) · 1.64 KB
/
docker-compose.yaml
File metadata and controls
67 lines (67 loc) · 1.64 KB
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
56
57
58
59
60
61
62
63
64
65
66
67
services:
redis:
image: redis
volumes:
- redis_data:/data
ports:
- 6379:6379
# The following line might be uncommented to run on MacOS
# for testing and development purposes only.
# network_mode: host
livekit:
image: livekit/livekit-server
command: --dev --redis-host localhost:6379
network_mode: host
depends_on:
redis:
condition: service_started
sip:
image: livekit/sip
network_mode: host
environment:
SIP_CONFIG_BODY: |
api_key: 'devkey'
api_secret: 'secret'
ws_url: 'ws://localhost:7880'
redis:
address: 'localhost:6379'
sip_port: 5060
rtp_port: 10000-20000
use_external_ip: true
logging:
level: debug
sip-video-bridge:
build:
context: .
dockerfile: build/sip-video-bridge/Dockerfile
network_mode: host
command: ["--config", "/etc/sip-video-bridge/config.yaml"]
environment:
SIP_VIDEO_BRIDGE_CONFIG_BODY: |
api_key: 'devkey'
api_secret: 'secret'
ws_url: 'ws://localhost:7880'
redis:
address: 'localhost:6379'
sip:
port: 5080
transport: [udp, tcp]
rtp:
port_start: 20000
port_end: 30000
jitter_buffer: true
video:
default_codec: h264
max_bitrate: 1500000
transcode:
enabled: true
engine: gstreamer
max_concurrent: 10
health_port: 8081
prometheus_port: 6061
log_level: debug
depends_on:
redis:
condition: service_started
volumes:
redis_data: