Repository navigation
feat(docker): convert office documents with Collabora Online - #26692
Merged
TiagoJacobs merged 10 commits intoNov 26, 2026
Merged
Conversation
… env The two services read the addresses of the other services, and shared-notes-server its database password, from environment variables, which win over the override files, as export-annotations already does. This removes docker/compose/bbb-graphql-middleware.yml and the inline bbb-shared-notes-server.yml; its runnerScript is no longer read since the PDF export uses the conversion socket. An admin's file at the bare-metal path now holds only their changes. install.sh no longer downloads the removed files.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 4
Please check the settings in the CodeRabbit UI or the
|
tibroc
force-pushed
the
compose/office-conversion
branch
3 times, most recently
from
November 24, 2026 18:05
b427c84 to
6fc57a7
Compare
tibroc
marked this pull request as ready for review
November 25, 2026 11:09
tibroc
force-pushed
the
compose/office-conversion
branch
2 times, most recently
from
November 25, 2026 13:50
7a8cc8f to
6d743fd
Compare
tibroc
added a commit
to tibroc/bigbluebutton
that referenced
this pull request
Nov 25, 2026
… the bbb-web image)
shared-notes-server reads bbb-web's base URL from BBB_WEB_URL and ignores BBB_WEB_HOST.
record-and-playback reads REDIS_HOST, BN_NOTES_ENDPOINT, PLAYBACK_HOST and SHARED_SECRET, so the inline recording.yml and bbb-web.properties go away. An admin's own recording.yml, mounted at its bare-metal path, now holds only their changes.
docker-compose.yml no longer has an inline recording.yml to start from: the recording services get their wiring from the environment.
… read The recording services no longer mount an inline recording.yml, so an override that replaced it is ignored without an error and the extra formats stop being processed.
A release tag vX.Y.Z is also pushed as vX.Y when it is the newest vX.Y.Z in the repository. Re-runs of older releases and pre-releases leave the alias alone.
BBB_IMAGE_TAG still selects the version of all images. Each BBB image can now also be set in .env with a full reference, BBB_<IMAGE>_IMAGE, e.g. BBB_WEB_IMAGE=localhost/bbb-web:dev. The variable applies wherever the image is used, including the schema mounts of init, which an override file could not change. The sample override keeps only pull_policy: never for local builds.
The webpack dev server setup for the HTML5 client was a second mechanism next to docker-compose.override.yml: extra compose files in docker/compose/dev/, added through COMPOSE_FILE in .env, with which compose reads the override only if COMPOSE_FILE lists it. docker-compose.override.sample.yml now has one commented HTML5 block: the location file as an inline config mounted at the package path, the locales of the source tree, and two variants, the dev server on your machine or in a container. docker/compose/dev/ is removed.
…vironment COOL_URL sets the Collabora Online server; without it the script uses https://127.0.0.1:9980 as before. A failed request now ends the script with curl's exit code and leaves no output file. Before, curl wrote the error body (or nothing) to the output file and the script exited 0, so bbb-web took it as a converted PDF.
bbb-web converts office documents by calling the script in presOfficeConversionExec, and the compose stack provided none. A new service, office-conversion, runs Collabora Online (CODE). The bbb-web image gets the sample client convert-cool.sh at its package path, /usr/share/bbb-libreoffice-conversion/convert-cool.sh, and compose selects it with PRESOFFICECONVERSIONEXEC; it sends to the service at COOL_URL. office-conversion is on a network with web only, without a route out and without an address for the host. It accepts convert-to from that network only, has no admin console, no capabilities, no-new-privileges and a read-only root; Collabora then runs each document in a landlock jail.
TiagoJacobs
force-pushed
the
compose/office-conversion
branch
from
November 26, 2026 04:57
6d743fd to
1f31f28
Compare
⏳ Automated tests are running... |
TiagoJacobs
merged commit Nov 26, 2026
4a9197c
into
bigbluebutton:v4.1.x-develop
58 of 59 checks passed
This was referenced Nov 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Docker Compose setup has no office document conversion. bbb-web calls
/usr/share/bbb-libreoffice-conversion/convert.sh, and nothing provides it, so Word, Excel and PowerPoint uploads fail.This adds an
office-conversionservice running Collabora Online (CODE). The bbb-web image gets the existing sample clientbbb-libreoffice/assets/convert-cool.shat its package path,/usr/share/bbb-libreoffice-conversion/convert-cool.sh, and the compose file selects it withPRESOFFICECONVERSIONEXEC. The compose stack needs no file from outsidedocker/compose/for it. An admin can mount their own script and point the variable at it; the docs page shows how. The client now takes the server fromCOOL_URL(the default is unchanged). When a conversion fails it exits non-zero and writes no output file. Before, it handed bbb-web the error body as a PDF and exited 0.The service:
webonly, with no address for the host;Limits:
bbb-sofficeimage.A stricter design with one container per document can follow and keep the same
convert.shcontract.Tested:
.pptx,.docxand.xlsxsent inline increateare converted by bbb-web.After moving the script into the image (rebased on
v4.1.x-developwith #26714): bbb-web built locally, the rest published images. All containers healthy; an.odtand a.docxconverted to PDF, with bbb-web logging/usr/share/bbb-libreoffice-conversion/convert-cool.sh; the documented own-script override converts too;install.shdownloads nobbb-libreoffice/file;docker compose config -qpasses with compose 2.35.1 and 2.40.3.