Use APIs inside docker

I am self hosting docker with jitsi and now I am implementing jitsi-meet API (lib-jitsi-meet API (low level) · Jitsi Meet Handbook).

My JS:

...
const options = {
    serviceUrl:'https://my.jitsi.test1:8443/http-bind',
    hosts: {
        domain: 'meet.jitsi',
	focus: 'focus.meet.jitsi',
        muc: 'conference.my.jitsi.test1:8443' 
    },
    clientNode: 'https://my.jitsi.test1:8443'
};
...

and my .env file:

# Directory where all configuration will be stored
CONFIG=~/.jitsi-meet-cfg

# Exposed HTTP port
HTTP_PORT=8000

# Exposed HTTPS port
HTTPS_PORT=8443

# System time zone
TZ=UTC

# Public URL for the web service (required)
PUBLIC_URL=https://my.jitsi.test1/

# IP address of the Docker host
# See the "Running behind NAT or on a LAN environment" section in the Handbook:
# https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker#running-behind-nat-or-on-a-lan-environment
#DOCKER_HOST_ADDRESS=192.168.1.1

But I feel there is connection issue in my JS file. Are my entries in “options” right?

You don’t need to change the muc config, leave it like it was.

1 Like