Make Jitsi JVB work correctly with IPv6

Since the Jitsi Docker Compose stack does not properly take IPv6 into consideration, patch the JVB config to add mappings from the private IPv6 address of the Docker network to the public IPv6 address.

This should be the source of the reported problems with conferences with 3+ people.
This commit is contained in:
Stefan Bethke 2026-10-20 15:34:05 +02:00
commit ce96105463
9 changed files with 76 additions and 4 deletions

View file

@ -6,8 +6,20 @@
networks:
meet.jitsi:
enable_ipv6: true
{% if jitsi__jvb_advertise_ipv6s | length > 0 %}
# A fixed subnet, so the JVB can have a fixed IPv6 address to map the public ones to.
ipam:
config:
- subnet: {{ jitsi__ipv6_subnet }}
{% endif %}
services:
{% if jitsi__jvb_advertise_ipv6s | length > 0 %}
jvb:
networks:
meet.jitsi:
ipv6_address: {{ jitsi__jvb_ipv6_address }}
{% endif %}
{% if jitsi__web_files | length > 0 %}
web:
volumes:
@ -42,6 +54,6 @@ services:
networks:
meet.jitsi:
{% endif %}
{% if not (jitsi__web_files or jitsi__turn or jitsi__prometheus_exporter) %}
{% if not (jitsi__jvb_advertise_ipv6s or jitsi__web_files or jitsi__turn or jitsi__prometheus_exporter) %}
{}
{% endif %}