Repository navigation
feat(docker): let .env choose the image of each component - #26710
Merged
TiagoJacobs merged 8 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/image-vars
branch
2 times, most recently
from
November 24, 2026 18:05
1e1bf17 to
747952a
Compare
|
This pull request has conflicts ☹ |
tibroc
force-pushed
the
compose/image-vars
branch
from
November 25, 2026 11:03
747952a to
949aacb
Compare
tibroc
marked this pull request as ready for review
November 25, 2026 11:09
tibroc
added a commit
to tibroc/bigbluebutton
that referenced
this pull request
Nov 25, 2026
…(html5 dev setup in the override sample)
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.
TiagoJacobs
added a commit
to tibroc/bigbluebutton
that referenced
this pull request
Nov 26, 2026
Every BBB image has a BBB_<IMAGE>_IMAGE variable since bigbluebutton#26710, and init no longer mounts the schemas from the graphql-server and shared-notes-server images.
TiagoJacobs
force-pushed
the
compose/image-vars
branch
from
November 26, 2026 04:57
80cc6b4 to
3382f2e
Compare
✅ Automated tests have passed! |
TiagoJacobs
merged commit Nov 26, 2026
b01a6fb
into
bigbluebutton:v4.1.x-develop
103 of 106 checks passed
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.
BBB_IMAGE_TAGselects one version for all images. To run another build of one component, an admin had to write adocker-compose.override.yml. That doesn't fit a.env-only install, and it doesn't change the images thatinitmounts its schemas from.This adds one optional variable per image,
BBB_<IMAGE>_IMAGE(e.g.BBB_WEB_IMAGE=localhost/bbb-web:dev), holding a full image reference: another tag, registry, a local build or a digest. The variable applies wherever the image is used, including the image mounts. Unset, the rendered config is identical to before.The docs list all variables,
.env.sampleshows three examples, and the sample override and the development guide keep onlypull_policy: neverfor local builds. Nested defaults are tested with compose 2.35.1 and 2.40.3.A second commit makes
docker-compose.override.sample.ymlthe one place for development settings. The HTML5 dev setup (nginx proxying/html5client/to the webpack dev server) moves there fromdocker/compose/dev/, which is removed. It is one commented block with two variants: the dev server on your machine, or in a container. The nginx location file is inline as a compose config. NoCOMPOSE_FILEin.envany more, which also removes the trap that compose then readsdocker-compose.override.ymlonly when it is listed.Tested:
.env: the check-up and the join test pass, including the notes PDF export.pull_policy, and with either HTML5 variant:docker compose configpasses with compose 2.35.1 and 2.40.3, and nginx gets exactly the block's settings added to the main file's (mounts, configs anddepends_onare merged, not replaced)./html5client/comes from the dev server (x-powered-by: Express, the unbundledbundle.js), the locales from the source tree, and the check-up passes.