Issues combining docker-jitsi-meet and lib-jitsi-meet

Are there any examples which cover using lib-jitsi-meet in an external app with the web instance from docker-jitsi-meet? I am having trouble getting the example to work locally.

I have the docker swarm running, and the included web app is working well.

However, in my external web app using lib-jitsi-meet’s example.js I get errors when Strophe.getNodeFromJid(jid) returns null:

Uncaught (in promise) TypeError: Cannot read property 'substr' of null
at se.resourceCreator (JitsiConference.js:276)
at A.createRoom (xmpp.js:475)
at se._init (JitsiConference.js:310)
at new se (JitsiConference.js:130)
at c.initJitsiConference (JitsiConnection.js:113)
at jitsi.js:224

I have a feeling this may be a problem with the connection’s options, but it is not clear at all what values I should be passing there when I am using docker on localhost, using the default config:

$ docker ps --format "{{.ID}}\t{{.Names}}\t{{.Ports}}"
7c39dbaf37e0    docker-jitsi-meet_jicofo_1
7465f994a4e0    docker-jitsi-meet_jvb_1>4443/tcp,>10000/udp
9ed543db50db    docker-jitsi-meet_web_1>80/tcp,>443/tcp
9af3a77f9694    docker-jitsi-meet_prosody_1     5222/tcp, 5269/tcp, 5280/tcp, 5347/tcp

Thanks in advance for any help!