-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (24 loc) · 901 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (24 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "2.0"
services:
coturn:
restart: always
image: 2chat/coturn-docker:latest
network_mode: host
ports:
- "3478:3478/udp" # STUN/TURN UDP
- "3478:3478/tcp" # STUN/TURN TCP
- "3479:3479/udp" # STUN/TURN UDP Alt port (RFC5780 support)
- "3479:3479/tcp" # STUN/TURN TCP Alt port (RFC5780 support)
- "5349:5349/udp" # STUN/TURN DTLS
- "5349:5349/tcp" # STUN/TURN TLS
- "5350:5350/udp" # STUN/TURN DTLS Alt port (RFC5780 support)
- "5350:5350/tcp" # STUN/TURN TLS Alt port (RFC5780 support)
- "20000-65535:20000-65535/udp" # UDP media ports for TURN relay
environment:
PORT: 3478
ALT_PORT: 3479
TLS_PORT: 5349
TLS_ALT_PORT: 5350
MIN_PORT: 20000
MAX_PORT: 65535
JSON_CONFIG: '{"config":["fingerprint", "lt-cred-mech", "log-file stdout", "realm=kurento.org", "user=kurento:kurento"]}'