Files
HellCon/compose.yaml
T
2026-10-09 13:47:56 +02:00

34 lines
945 B
YAML

# 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"