Skip to content

feat(docker): wire graphql-middleware and shared-notes-server through env - #26694

Merged
TiagoJacobs merged 2 commits into
bigbluebutton:v4.1.x-developfrom
tibroc:compose/env-wiring
Nov 26, 2026
Merged

TiagoJacobs merged 2 commits into
bigbluebutton:v4.1.x-developfrom
tibroc:compose/env-wiring

Conversation

@tibroc

@tibroc tibroc commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Rebased on v4.1.x-develop now that #26186, #26656, #26657, #26662, #26714 and #26719 are merged. #26714 already moved export-annotations to the environment, so this PR now does the same for the other two services.

Change

Why

An admin who mounts their own override file no longer has to copy the compose file's host lines into it. The environment wins over the file, so a file copied from a package install (with 127.0.0.1) does not break the wiring.

Checked

With the published v4.1.x-develop-20261124T173539-b26dba2 images (after #26656, #26657 and #26662), nothing built locally, before the rebase onto #26714 (which sets the same export-annotations variables as this PR did):

  • all 25 containers healthy and the join path passes, including the notes PDF export;
  • shared-notes-server is connected to Redis and writes to PostgreSQL;
  • graphql-middleware is connected to Hasura and Redis;
  • export-annotations uses bbbWebAPI=http://web:8090 and redis.host=redis, and from the container ${BBB_WEB_API}/bigbluebutton/api answers SUCCESS.

After the rebase onto v4.1.x-develop with #26719, with the published v4.1.x-develop-20261125T164633-426e7c8 images: docker compose config -q passes with compose 2.35.1 and 2.40.3; all 25 containers healthy; the join path passes, including the notes PDF export; shared-notes-server is connected to Redis and holds its blocknote_app session, graphql-middleware is connected to Hasura and Redis; install.sh downloads every file and writes .env.

… 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.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review: 4

  • v3.0.x-release
  • v3.0.x-develop
  • v4.0.x-release
  • v4.0.x-develop

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d82b824e-57b6-4648-9c07-1140b4ae004a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@tibroc
tibroc force-pushed the compose/env-wiring branch 4 times, most recently from 3f27e82 to 721e619 Compare November 25, 2026 11:03
@tibroc tibroc changed the title feat(docker): wire graphql-middleware, shared-notes-server and export-annotations through env feat(docker): wire graphql-middleware and shared-notes-server through env Nov 25, 2026
@tibroc
tibroc marked this pull request as ready for review November 25, 2026 11:09
@antobinary antobinary added this to the Release 4.1 milestone Nov 25, 2026
@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

shared-notes-server reads bbb-web's base URL from BBB_WEB_URL and ignores BBB_WEB_HOST.
@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@TiagoJacobs
TiagoJacobs merged commit 43edbff into bigbluebutton:v4.1.x-develop Nov 26, 2026
58 of 59 checks passed
@tibroc
tibroc deleted the compose/env-wiring branch November 26, 2026 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants