Skip to content

feat(shared-notes): read the bbb-web, Redis and PostgreSQL hosts from the environment - #26656

Merged
TiagoJacobs merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:simplify/notes-env
Nov 24, 2026
Merged

TiagoJacobs merged 1 commit into
bigbluebutton:v4.1.x-developfrom
tibroc:simplify/notes-env

Conversation

@tibroc

@tibroc tibroc commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

bbb-shared-notes-server can now take the bbb-web, Redis and PostgreSQL settings that a deployment has to change from environment variables, as it already does for SERVER_HOST.

Change

  • BBB_WEB_HOST, REDIS_HOST, POSTGRES_HOST and POSTGRES_PASSWORD, if set and not empty, win over default.yml and /etc/bigbluebutton/bbb-shared-notes-server.yml.
  • REDIS_HOST, POSTGRES_HOST and POSTGRES_PASSWORD are the names bbb-apps-akka uses. BBB_WEB_HOST is new because the key is a host, not the full API URL of akka's BBB_WEB_API.
  • Each variable is noted next to its key in default.yml.

Why

Containers can wire the services through the environment, and the override file is left to the admin's own changes. Today a container setup has to write these values into the override file, so an admin who mounts their own file has to copy them.

Package installs

Nothing changes: the unit sets none of these variables (only NODE_ENV).

Checked

Loaded the config before and after the change in four cases: nothing set, the override file only, env only, file and env. With nothing set, and with the file only, the result is the same as before. With env set, env wins.

… the environment

BBB_WEB_HOST, REDIS_HOST, POSTGRES_HOST and POSTGRES_PASSWORD, if set, win over
default.yml and /etc/bigbluebutton/bbb-shared-notes-server.yml, as SERVER_HOST already
does. With none of them set, nothing changes. REDIS_HOST, POSTGRES_HOST and
POSTGRES_PASSWORD are the names bbb-apps-akka uses.
@coderabbitai

coderabbitai Bot commented Nov 23, 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: 35aef6de-f1e1-4828-bc01-8aba56c2e3ec

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

@github-actions

Copy link
Copy Markdown

⏳ Automated tests are running...

@antobinary antobinary added this to the Release 4.1 milestone Nov 24, 2026
@TiagoJacobs
TiagoJacobs merged commit f0043e0 into bigbluebutton:v4.1.x-develop Nov 24, 2026
51 of 54 checks passed
@tibroc
tibroc deleted the simplify/notes-env 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