How to migrate a Jitsi Debian install to Docker without losing settings
Moving a working Debian package Jitsi to docker-jitsi-meet is a re-mapping and cutover project, not a data migration. Meeting data in Jitsi is ephemeral, so there are no rooms, recordings or chat histories to carry across in the way a database migration would require. The effort depends on how many custom edits exist in the package install, so the first task is an inventory of every changed file: Prosody settings under /etc/prosody/conf.avail/, Jicofo settings in /etc/jitsi/jicofo/, the web app config.js and interface_config.js, and any nginx or TLS changes made by hand. Each edit needs a destination in the Docker setup, either a .env variable or a file under the custom config directory that the Docker project mounts into its containers. Where a setting has no equivalent, record it as an open decision rather than assuming the default covers it.
The work that carries real risk is configuration, certificates, ports and DNS. Confirm that the certificate for your public domain is valid and that the files the Docker setup expects are in place, since the Jitsi handbook states that HTTPS with a proper domain certificate is necessary for working audio and video. Check the host firewall against the ports the Docker stack needs, including 10000/UDP for media, and confirm that the Docker host's public address matches what the bridge advertises. Plan the DNS cutover with a short record lifetime set ahead of time, and keep the Debian server running and reachable until the Docker stack passes a test call from outside your network. Ask your team or partner to write down the rollback step for each change before the cutover window opens.
Which Debian package settings map to Docker and which need rework
This table compares the settings on a package-based Jitsi host with their docker-jitsi-meet equivalents, showing where a value moves to a .env key, where it moves to a mounted custom file, and where it needs rework. Read each row as a question: does Docker expose a key for this, or does the setting have to be carried over by hand? Most of the risk sits in the rows marked for rework, because copying files from the Debian paths will not carry those edits across.
| Debian package setting | Docker equivalent | What to do |
|---|---|---|
Prosody config (prosody.cfg.lua and virtual host files) | Prosody container with custom config mounted from the host | Port each custom change into a mounted file. Do not copy the package file as is, because paths and the container layout differ. |
Jicofo config (jicofo sip-communicator.properties) | Jicofo container, with custom properties mounted from the host | Map each property individually and confirm its key still applies to the release you deploy. |
config.js and interface_config.js edits | Custom config files mounted over the web container defaults, or variables in .env for common options | Options with a .env key can move there. Anything else needs a mounted file, and a custom web build if the change touches the bundle. |
| nginx site files and Let's Encrypt certificates | Web container with TLS certificate and key paths set in .env and mounted from the host | Reissue or copy the certificate material into the mounted paths. Confirm the renewal hook still reloads the web container. |
| Bridge and TURN settings (JVB ports, TURN credentials, STUN) | JVB container with .env keys for ports and TURN, plus custom files for anything without a key | Keep the UDP media port open. Settings with no direct key need a custom file, and TURN changes must be tested from outside the network. |
| JVB advertised addresses | JVB DOCKER_HOST_ADDRESS or equivalent .env setting | Set the public address explicitly. A wrong address is a common cause of media failures behind NAT. |
Package-specific edits under /etc or /usr/share paths | No direct equivalent. Usually a custom file, a mounted override or a custom web image | Rework by hand. Copying Debian paths into containers does not carry these edits over, and they need rebuild and retest. |
| Jigasi and Jibri (if present or planned) | Optional containers in the same Docker setup | Plan them as added components with their own sizing. Jibri needs its own machine or VM, and only one recording runs at a time per Jibri. |
Which migration path fits your install
A single Debian server runs the web app, Prosody, Jicofo and the videobridge on one host. The Docker guide splits these into separate web, prosody, jicofo and jvb containers, so each service is rebuilt as a container and its settings move into the .env file and custom files. The Debian quick start describes the host-level pieces you retire: the packages, OpenJDK 17 and the open ports. Your public hostname, and usually your certificate, can carry over.
- Prosody settings: Review any custom Prosody changes from the Debian install and rebuild them as custom files mounted into the prosody container.
- Jicofo settings: Identify overrides to Jicofo's configuration and map them to the jicofo container's custom files or
.enventries. - Web and config.js changes: Copy your
config.jsedits into the web container's custom configuration so they survive container recreation. - Certificates: Mount the existing certificate files for the same domain into the web container and confirm the chain is complete.
- Host firewall and packages: Keep ports 80/TCP, 443/TCP and 10000/UDP open on the new host, and retire the Debian packages only after the containers pass testing.
Before you change DNS, confirm that the public hostname, the certificate and the media port all reach the new host.
A Debian install with separate videobridges runs the central server, with Prosody and Jicofo, on one host and media processing on others. The scalable setup guide says bridges scale horizontally by adding more, and that the default install is already set up for this. In Docker, each bridge is a jvb container, so the bridge hosts, their registration settings and their network paths to the central services must be mapped again.
- Bridge placement: Decide whether each bridge becomes a jvb container on its own host or stays on a package install during cutover.
- Registration settings: Map the XMPP credentials and domain values that bridges use to connect to Prosody into the
.envfile so every bridge matches the central server. - Media ports: Confirm that 10000/UDP is open on each bridge host, because media flows to those hosts directly.
- Sizing reference: Use the guide's suggested sizing, 4 or 8 CPUs with 8 GB of RAM for each videobridge, as a starting point when you choose host sizes.
- Migration order: Move one bridge at a time and confirm Jicofo lists the new bridge before you retire the old one.
Before you remove the package bridges, place test participants on different bridges and confirm that media flows in both directions.
If your Debian install already uses JWT token authentication or Matrix user verification, authentication is the part most likely to need careful mapping. The token authentication handbook covers the JWT model that the Docker .env file also configures. The Docker guide lists internal XMPP accounts, JWT, LDAP, Matrix user verification and a hybrid Matrix plus JWT mode, so the authentication mode must match what your users already experience. The Jitsi handbook marks the older secure domain method as deprecated for new installations, so any room creation that depends on it needs a move to tokens.
- JWT values: Carry the application identifier, secret and audience or issuer values into the matching
.envkeys, and keep the same signing key in your token issuer. - Authentication mode: Set the Docker authentication mode to the one your Debian install uses, and confirm the Prosody and Jicofo settings follow it.
- Matrix details: Re-enter the Matrix homeserver values used for user verification, and check the hybrid mode carefully if you combine it with JWT.
- Secure domain dependencies: Find any users, scripts or integrations that still log in with a username and password and plan their move to tokens before go-live.
- Anonymous domain: Confirm that guest access works under the anonymous domain setting after the move.
Before you change DNS, test one authenticated join and one guest join on the Docker host, since both depend on the .env values you mapped.
Sequence for a parallel run and DNS cutover
This sequence moves a package-based Jitsi onto docker-jitsi-meet while the Debian install keeps serving users, so the switch happens only after the Docker stack has been tested with real sessions. Each step ends with a check that tells the team whether to continue or roll back.
Inventory custom files and overrides
The operator lists every file the package install has changed from its defaults, including Prosody virtual host and component files, Jicofo properties, the videobridge configuration, config.js and interface_config.js overrides, custom web assets, certificate paths and any cron jobs or scripts. Each item is marked as carried over, replaced by a Docker equivalent, or dropped with a reason. The output is a reviewed mapping sheet that the platform owner and the person who made the original changes have both signed off on.
Build the Docker host on the same OS family
The team provisions a new host on a Linux distribution from the same family as the package install where possible, installs Docker and confirms the host meets the documented prerequisites. Inbound ports 80/TCP and 443/TCP are opened, 10000/UDP is opened for media, and 5349/TCP and 3478/UDP are opened only if TCP fallback and STUN are part of the design. The check is that each port is reachable from a test client outside the network, and that the host does not share those ports with the running package install.
Map settings into .env and custom files
The operator translates each item on the mapping sheet into the Docker configuration, placing values in the
.envfile where the Docker setup provides a key and in custom files for anything that needs more than a key, such as Prosody or Jicofo overrides and config.js changes. Authentication settings are set deliberately, not copied, so the Docker stack starts with the intended method. The check is a configuration review in which a second engineer compares the rendered settings against the mapping sheet and confirms every row is accounted for.Issue or copy the domain certificate
The team either issues a certificate for the Docker host's domain or copies the existing certificate and key into the location the Docker setup expects, and checks the chain is complete. The handbook states HTTPS with a proper domain certificate is necessary for working audio and video and warns that self-signed certificates cause problems, especially on mobile clients, so this step is not skipped for the test hostname. The check is a browser and a mobile client that both load the test hostname without certificate warnings.
Test with internal users on a test hostname
The Docker stack is brought up on a test hostname that resolves only for internal users, and a small group joins scheduled test meetings covering two-way audio and video, screen sharing, the authentication method in use, moderator actions and any custom branding. Testers include participants on different networks and at least one mobile device, since NAT and certificate problems often appear only there. The output is a dated test log with each case passed, failed or deferred, and every failure is fixed and retested before continuing.
Run both stacks in parallel
The package install continues serving the production hostname while the Docker stack runs on its own host, and the team uses it for internal meetings that reflect real usage. Monitoring is set up on both stacks so resource use, errors and failed joins can be compared side by side. The check is that the Docker stack has carried a representative set of meetings without an unresolved defect, and that the team agrees the parallel period is complete. Any changes made during this period are recorded and applied to the mapping sheet.
Cut over DNS with a lowered TTL
Well before the planned change, the team lowers the TTL on the production record so resolvers pick up the new address quickly, and confirms the lower value is live. At the agreed window, the production DNS record is changed to the Docker host, and the team checks resolution from several networks and joins a live test meeting. Lowering the TTL in advance is what makes rollback quick, so the team should confirm with the DNS provider how long old caches may take to expire.
Roll back or decommission the package install
The package install is kept intact and powered on through an agreed observation period, with a written rollback procedure that reverts the DNS record and names who makes that decision. If the Docker stack is accepted, the package services are stopped, their configuration and data are archived, and the host is removed from monitoring and backup schedules. The output is a closed change record showing the cutover date, the rollback owner, the archive location and the final state of each mapping row.
How the Debian install and the Docker stack map during cutover
The diagram starts with clients resolving the Jitsi hostname through DNS, which points at exactly one host at a time: the existing Debian package install or the new docker-jitsi-meet host. The same domain certificate must be present on whichever host receives traffic, and the media ports (10000/UDP for the videobridge, plus 5349/TCP for TCP fallback if you use it) must be reachable on the new host before DNS moves. Rollback is the reverse DNS change, so keep the old host running and its records intact until the new stack has passed your checks.
DNS selects one host at a time, with a shared certificate and media ports ready on the new host.
What makes the move take longer or cost more
Most of the effort in a Debian-to-Docker move comes from how much of the existing install has been customized, not from the containers themselves. The six drivers below determine the scope a quote should reflect, and each one can be counted before any work starts.
Custom Prosody and Jicofo edits
Every hand-edited file under the Prosody and Jicofo configuration directories must be mapped to a setting in .env or a custom file in the Docker layout. Count the edited lines and note which ones change authentication, room behavior or bridge selection. Each edit needs a test case on the new stack, so a long list of small changes often costs more than one large change.
config.js and interface customizations
Custom branding, toolbar changes, prejoin settings and privacy defaults live in config.js and interface files on Debian. Check whether they were edited in place or applied through a custom web build, because a custom build needs its own image and rebuild steps on Docker. Each customization you keep needs a visual and functional check after the move.
Separate videobridges and Jibri
A single all-in-one server is simple to move. Separate videobridges, bridge registration, or a Jibri recording pool each add containers, ports and a second environment to verify. Jibri should run on its own machine or VM, and only one recording runs at a time on a single Jibri, so recording capacity is a sizing question to answer before cutover.
Jibri repositoryAuthentication change during the move
Moving from secure domain to JWT, or adding LDAP or Matrix verification, is a second project riding on the migration. Token issuance, the anonymous guest domain and user cutover each need design and testing. Keep the authentication method unchanged during the container move if you can, then change it as a separate step.
Certificates and firewall access
The Docker deployment needs a valid domain certificate, and the Jitsi handbook warns that self-signed certificates break audio and video, especially on mobile. Confirm that ports 80/TCP, 443/TCP and 10000/UDP reach the new host, and that the certificate renewal path works in the new layout. Firewall change requests often take longer than the software work and should start early.
Debian quick startUsers and integrations to test
The number of user groups, meeting types, dial-in paths and calendar or identity integrations sets the test effort. Write a test matrix that covers each group and each integration, including browsers and mobile clients, before cutover. A short list of critical meetings tested end to end is usually a better gate than a long list of unverified features.
What drives effort and what to ask for in a quote
This table lists each cost component of a Debian-to-Docker move, who does the work, what pushes it up, and what to request in writing. Use it to compare quotes on the same basis, since a lower figure often means a narrower scope rather than less work.
| Cost component | What drives it up | What to request in the written scope |
|---|---|---|
| Inventory of the current install | Many custom Prosody, Jicofo and config.js edits, undocumented changes made directly in files, extra components such as Jibri or Jigasi, and multiple hosts | A list of every changed file and setting, with a mapping to the planned Docker location, plus the Jitsi package versions in use |
| Rebuild on docker-jitsi-meet | Custom Prosody modules or plugins that need a custom image, customized web builds, authentication changes made during the move, and optional extensions such as Etherpad or Excalidraw | Named target components, the .env and custom file layout, the image and tag policy, and who owns future image rebuilds |
| Certificate and network work | Certificates issued for a domain that is changing, NAT or advertised address settings, firewall rules for 10000/UDP and 443/TCP, and any TCP fallback or STUN requirements | Certificate source and renewal method, the port matrix checked against your firewall, and the list of external systems that must be reconfigured |
| Test environment and testing | Number of client platforms to test (desktop browsers, mobile apps), multi-participant tests, and whether the old and new stacks run side by side | Test cases with pass criteria, who signs off, and whether the test environment matches production network paths |
| DNS cutover and rollback | Number of hostnames, TTL and caching behavior, and bookmarks or integrations pointing at the old host | A written cutover runbook, a rollback procedure, the change window, and who is on call during it |
| Post-cutover support | Length of monitoring after go-live, number of user issues, and any unresolved defects found in testing | Support hours and response expectations in writing, and whether support is a fixed number of days or a retainer |
| Documentation and handover | Number of environments, runbooks needed for operators, and how much of the custom configuration must be explained | Deliverables by name: updated configuration repository, runbooks, network diagram and an operator walkthrough |
What usually goes wrong during a Jitsi Docker cutover
Most failed Jitsi migrations are not caused by the containers themselves. They come from certificates, network ports, settings that never made it across, and changes users were not told about. Each risk below is easy to check before the DNS record moves.
Certificates that mobile clients reject
The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video and warns that self-signed certificates cause problems, especially with mobile clients. During cutover, the new Docker stack needs a certificate for the public hostname that is trusted by the clients you serve. Check the full chain, the hostname match and the expiry date from outside your network, using a phone on cellular data rather than only a desktop browser.
Quick start docsMissing UDP 10000 or wrong advertised address
Media runs over UDP 10000 by default, and a Docker host behind NAT can advertise an address that clients cannot reach. The Debian quick start lists 10000/UDP as required, and a new firewall or cloud security group on the Docker host is often the first thing to miss. Confirm the public IP is set correctly in the environment file and that a test call with a third participant connects media, not only signaling.
Docker guideCustom edits silently dropped
Debian installs often carry hand-edited files under /etc/prosody, /etc/jitsi/jicofo and /usr/share/jitsi-meet. A Docker stack ignores those paths, so a changed Prosody module, a Jicofo property or a config.js override simply does not load, and the default behavior appears instead. Inventory every edited file before cutover, map each setting to its .env key or custom file, and test the features each setting controlled.
DNS TTL delaying the cutover
If the hostname's DNS record still has a long time to live, some users keep reaching the old server after you switch the record. Lower the TTL well before the planned change, then confirm resolvers return the new address. Keep the old stack running and reachable until traffic has drained, because rolling back is only possible while the old server still answers.
Authentication mode changed without notice
Moving from a secure domain to JWT, LDAP or Matrix authentication through the .env file changes who can create rooms and join them. Users who open bookmarked links may suddenly be asked for credentials or be refused entry. Announce the new sign-in model, the guest path and the date ahead of the cutover, and test a moderator account and a guest account against the new stack before users arrive.
Rootless and read-only filesystem changes
Since stable-11146, the official containers run rootless with read-only filesystems. Custom scripts, plugins or logs that wrote to paths inside the container will fail, or will fail only after a restart. Confirm every custom file is mounted from the host at a path the container can read, test that the containers start cleanly with their configured volumes, and verify logs are reachable from the host for troubleshooting.
Questions buyers ask before moving Jitsi to Docker
How much effort does moving a Debian Jitsi install to Docker take?
The effort depends mostly on how much custom configuration the current install carries, not on the package move itself. A stock install with default settings maps across quickly, while an install with hand-edited Prosody, Jicofo and config.js files needs each change traced to its equivalent in the .env file or the custom files directory. Other drivers include whether you run Jibri, Jigasi, Etherpad or Excalidraw, whether authentication moves from internal accounts or secure domain to JWT, and whether the server also carries videobridges that must be split out. Ask any provider for a written scope that lists each custom setting, each optional container and the test calls used to confirm the cutover, because those items set the quote.
Can our own team migrate Jitsi to Docker without a partner?
A team with Linux administration experience and Docker skills can usually do the migration alone, especially for a single-server deployment with few custom settings. The harder parts are reading the existing Prosody and Jicofo configuration correctly, handling certificates in the new layout, and testing with more than two participants and from mobile devices. The Jitsi scalable setup guide warns that building a scalable infrastructure is not a task for beginning Jitsi administrators, so a team new to Jitsi should weigh that advice. An outside partner can take the work as a fixed-scope engagement with written deliverables, while your staff keep ownership of the running system.
What skills and staff time does a Jitsi Docker migration need from us?
Plan for someone who can read your current configuration, someone who can operate Docker hosts and a person who can run realistic test meetings. Your team must supply access to the current server, the DNS zone, the certificate source and any identity provider used for authentication. Someone from the business should also agree on a cutover window and tell users where their meeting links will point. If you use LDAP, Matrix or JWT authentication, include the people who own those systems, because their settings are part of the migration. Ask the provider which of these roles they expect you to fill and how many working sessions they plan for each.
Do our meeting history and recordings move to the Docker install?
No meeting history needs to move, because Jitsi meetings are live rooms that exist only while participants are connected. A room is created when the first person joins and disappears when the last person leaves, so there is no conference database to copy. Recordings are different. Files produced by Jibri or saved locally sit on the old host or in the storage you configured, and they must be copied or kept accessible under their own retention rules. Check your retention and compliance obligations for recordings before cutover, and decide where the archive will live after the old server is retired.
Does the Docker setup keep the same ports and certificates?
The Docker setup uses the same external service model as the package install, so the public ports remain 80/TCP and 443/TCP for the web entry point, 10000/UDP for media, and optionally 5349/TCP for TCP fallback and 3478/UDP for STUN. What changes is how the containers bind and how the certificate reaches the web container. The Jitsi handbook says HTTPS with a proper domain certificate is necessary for working audio and video, and self-signed certificates cause problems, especially with mobile clients. Confirm the certificate path, the renewal method and the firewall rules in the new host before cutover, and test from a mobile device on a separate network.
What does a rollback look like if the Docker cutover fails?
A rollback is simplest when the old Debian install stays intact and is only stopped after the new stack passes its tests. Keep the old packages, configuration files and certificates in place, record the DNS values before you change them, and lower the record's time to live well ahead of cutover so the switch back is quick. If the DNS change points users to the old server again, existing meeting links keep working because the room names are the same. Agree in writing who decides to roll back, what the test checkpoints are and how long the old server remains available. A provider should be able to describe those steps as part of its scope.
What does the Docker migration cost, and who pays for what?
The cost has two parts: the one-time migration work and the recurring operation of the Docker hosts. The one-time work covers discovery of your current settings, building the new host, mapping custom configuration, certificate setup, testing and cutover support. The recurring work covers patching, upgrades, monitoring, backups of configuration and certificate renewal, and it stays with you or with a retainer if you buy one. Costs rise with the number of custom settings, optional containers, authentication changes and the size of the test plan. DeployOpen does not publish a price list, so ask for a quote that lists these items separately and the test calls each one requires.
How DeployOpen scopes and delivers a Jitsi Docker migration
DeployOpen approaches a Jitsi Debian to Docker migration as a fixed-scope engagement that starts with an inventory of the existing package-based install. The work covers mapping custom settings, rebuilding the stack in docker-jitsi-meet inside your infrastructure, and cutting DNS over with a tested rollback path.
How we scope
- Inventory the current Debian packages, custom Prosody, Jicofo and config.js files, and any local overrides in use.
- Record which features run today, such as authentication mode, recording, dial-in and bridge count, so each one is in or out of scope.
- Agree the scope, deliverables and timeline in writing before work starts, and confirm which DNS and certificate tasks sit with your team.
How we build
- Map each custom setting to its equivalent in the
.envfile or custom configuration files for the Docker deployment. - Stand up a test instance in your environment, then verify certificates, ports 80/TCP, 443/TCP and 10000/UDP, and media from multiple networks.
- Test authentication and room access end to end, including moderator actions, before any production traffic moves.
How we hand over
- Deliver a written mapping document showing every old setting, its new location, and any change that was deliberately made.
- Provide the runbook for DNS cutover, the rollback steps, and the checks to run after the switch.
- Walk your operations team through the running containers, logs and configuration files so they can maintain the deployment.
How we support
- Offer ongoing support, upgrades and continuous testing under a retainer once the migration is complete.
- Plan later upgrades around the rootless container release and its directory changes, so each update is scoped in advance.
- Ask any support provider to confirm response terms and upgrade procedures in writing before you sign.

