diff --git a/backend/compose.yaml b/backend/compose.yaml index 00039f9..1035f7e 100644 --- a/backend/compose.yaml +++ b/backend/compose.yaml @@ -33,7 +33,8 @@ services: restart: unless-stopped # On the host network, so Docker's NAT can't change the source address clients get back. UDP 3478 - # on IPv4 only, stun.example.org needs an A record and no AAAA. + # on IPv4 and IPv6, stun.example.org needs an A and an AAAA record. Browsers hide their own addresses, + # only STUN reports an IPv6 one, and mobile networks behind carrier NAT often only connect over IPv6. coturn: image: coturn/coturn:4.18.0 network_mode: host @@ -43,6 +44,7 @@ services: command: - --log-file=stdout - --listening-ip=0.0.0.0 + - --listening-ip=:: - --listening-port=3478 - --stun-only - --no-tcp