Setting up BBB with nomad provided docker containers

125 views
Skip to first unread message

thibault francois

unread,
Nov 24, 2023, 12:49:49 PM11/24/23
to BigBlueButton-Setup
Hi,

We've been using, loving, and contributing to bigbluebutton for some time at Octopuce.
I'm actually on a new task, which is integrating BBB into a Liquid-investigation instance.

It's no easy at all, but I've managed to get to a point where I have:
- greenlight up and running at bbb.mydomain.com
- all containers up and running for BBB ( thanks to https://github.com/bigbluebutton/docker ).
- I can launch a visio, but I'm blocked with websockt issue, and the three dots screen infinitely running

I've followed the documentation for 'setting up bbb behing NAT' ( https://docs.bigbluebutton.org/administration/firewall-configuration/#configure-bigbluebutton-to-work-with-your-firewall )
But I'm still stuck with ( I think ) freeswitch, that cannot answer to queries like :
wscat -c wss://MY_EXTERNAL_IP:7443

I'm kind of lots with the freeswitch variables to setup, because the docker ones I got were for a server where all is with 10.x.x.x/8 whereas the setup I have uses Fabio as load-balancer between containers, so I have to remap all ports/ports-ranges/IPs, ans I'm unsure about what freeswitch service should be binding on which ip-port.

For example, actually I have :


server on 1.2.3.4 IP.
iptables nat prerouting traffic from 1.2.3.4:7443 to fabioip(10.66.66.1:21838)->FS_WSS_PORT(:7443)
freeswitch container has a dummy 1.2.3.4 NIC, and listens to 1.2.3.4:7443



I've also tried the setup bypassing wss and using ws :
server on 1.2.3.4 IP.
iptables nat prerouting traffic from 1.2.3.4:5066 to fabioip(10.66.66.1:21838)->FS_WSS_PORT(:5066)
freeswitch container listens to 0.0.0.0:5066
with this setup, I can indeed to :
wscat -c ws://bbb.my_server/html5client/sockjs/390/blabla

So I'll maybe intend to make it work at least first with WS only, but the address I have when starting a room is always in wss: format, if anyone knows how to change it ?



Regarding versions/data:
I base container images on the mod/*/Dockerfile available in https://github.com/bigbluebutton/docker, but had to change some of them, I'm building with :
BBB_BUILD_TAG=bbb27-2023-06-13-java17
TAG_FS_BUILD_FILES=v2.7.0
TAG_HTML5=v2.7.0
etc


Reply all
Reply to author
Forward
0 new messages