Install Jitsi for docker-compose.
- basic docker setup
- want to require an admin to start a chat
- guests don't to authenticate, but must pick a display name
- don't autogenerate random room names: guests have a direct url
- microphone and camera off by default (people can join to listen and watch)
- notifications can dismiss automatically after a period
Copy their sample to the destination filename with cp env.example .env
and make changes to these settings:
# Change HTTP_PORT, HTTPS_PORT, TZ, PUBLIC_URL, LETSENCRYPT settings
ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=internal
#ENABLE_HTTP_REDIRECT=1 # Can't remember if this fixed some issues or what
Start it with docker-compose up -d
which will generate the per-app configs
from the .env
file. Later changes to the file will require clearing the
configuration directory.
Add user credentials by getting a command line in the prosody container:
docker-compose exec prosody /bin/bash
# Inside the container
prosodyctl --config /config/prosody.cfg.lua register <uname> meet.jitsi <upwd>
exit # the container
At this time, the services can be stopped with docker-compose down
To change configs, change to the directory ~/.jitsi-meet-cfg
and type sudo su
to become the root user.
The web/interface_config.js
file controls much of the behavior that we are interested in. Colors, images, titles, and other things can be changed. These are the most basic options:
JITSI_WATERMARK_LINK: 'https://my-main-website.com',
GENERATE_ROOMNAMES_ON_WELCOME_PAGE: false,
AUTO_PIN_LATEST_SCREEN_SHARE: 'remote-only',
// NOTE: You must add a comma to the end of the AUTO_PIN entry!
ENFORCE_NOTIFICATION_AUTO_DISMISS_TIMEOUT: 15000,
Other behavior is in the web/config.js
file with these changes:
startWithAudioMuted: true,
startWithVideoMuted: true,
requireDisplayName: true,
These are the settings that need changed for the chat to work as expected.
Hope this makes for a great user experience!
Just what I was looking for. Thanks!