Add Coturn TURN server
This commit is contained in:
1 parent
752d0cf3af
commit
c3ca3e1752
13 files changed
+309
-11
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# Linux development only. No boot startup or automatic container restart.
|
||||
services:
|
||||
coturn:
|
||||
image: coturn/coturn:4.18.0-r0-alpine
|
||||
network_mode: host
|
||||
restart: "no"
|
||||
command:
|
||||
- -n
|
||||
- --listening-ip=127.0.0.1
|
||||
- --relay-ip=127.0.0.1
|
||||
- --listening-port=${TURN_PORT:-3478}
|
||||
- --realm=hellcon.local
|
||||
- --use-auth-secret
|
||||
- --static-auth-secret=${TURN_SECRET:?Run bun run dev:setup first}
|
||||
- --fingerprint
|
||||
- --min-port=49160
|
||||
- --max-port=49200
|
||||
- --no-tls
|
||||
# DTLS is opt-in in coturn 4.18; leave it disabled.
|
||||
- --no-tcp-relay
|
||||
- --no-multicast-peers
|
||||
# Needed for two browsers relaying to each other on this machine.
|
||||
- --allow-loopback-peers
|
||||
- --no-cli
|
||||
- --no-software-attribute
|
||||
- --log-file=stdout
|
||||
tmpfs:
|
||||
- /var/lib/coturn
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "5m"
|
||||
max-file: "2"
|
||||
Reference in new issue
Block a user