Skip to main content

Config - ENV and interface customization

Most important is the ENV file - here's the currently set variable. if jitsi sees some usage, we'll add the optional services too.

# config location changed to keep everything in one directory
CONFIG=~/jitsi/.jitsi-meet-cfg

# Exposed HTTP port (will redirect to HTTPS port)
HTTP_PORT=8000

# Exposed HTTPS port
HTTPS_PORT=8443

# custom: jvb colibri port, defaults to 8080 otherwise
JVB_COLIBRI_PORT=8585

# System time zone
TZ=CEST

# Public URL for the web service (required)
# Keep in mind that if you use a non-standard HTTPS port, it has to appear in the public URL
PUBLIC_URL=https://meet.shiny.space

# Media IP addresses to advertise by the JVB
# This setting deprecates DOCKER_HOST_ADDRESS, and supports a comma separated list of IPs
# 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
# NOTE BY LUCAS: CHANGE THIS IF PUBLIC IP CHANGES
JVB_ADVERTISE_IPS=83.76.33.165

# Enable Let's Encrypt certificate generation
# NOTE BY LUCAS: disable because currently nginx reverse proxy handles all HTTPS certs
ENABLE_LETSENCRYPT=0

#
# Security
#
# Set these to strong passwords to avoid intruders from impersonating a service account
# The service(s) won't start unless these are specified
# Running ./gen-passwords.sh will update .env with strong passwords
# You may skip the Jigasi and Jibri passwords if you are not using those
# DO NOT reuse passwords
#

# Here would be the passwords, obviously not in bookstack.
JICOFO_AUTH_PASSWORD=
JVB_AUTH_PASSWORD=
.
.
.

then a few customizations for the web interface. by default Jitsi has a watermark with a big link to jitsi.org, visible at all times during the call and accidentally clickable too. we disable it, and we also disable the "install the app" prompt on mobile - although the app is fully open source and available on f-droid! it's really not bad.

To make the configuration, we can put a file called custom-interface_config.js in the proper location, and when restarting the container it automatically inserts the new config into the default interface_config.js. Note: do not edit interface_config.js directly, it is overwritten each time the container starts!

~/jitsi/.jitsi-meet-cfg/web/custom-interface_config.js:

interfaceConfig.JITSI_WATERMARK_LINK = '';
interfaceConfig.SHOW_JITSI_WATERMARK = false;
interfaceConfig.MOBILE_APP_PROMO = false;

Note: the file says it is deprecated and all options will be moved to config.js in the future. keep this in mind when updating, at some point the settings will have to be moved. likely just to custom-config.js and config.MYVALUE instead of interfaceConfig.MYVALUE.