Skip to content

feat(graphql-middleware): read the service URLs and the Redis host from the environment - #26657

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

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

Conversation

@tibroc

@tibroc tibroc commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

bbb-graphql-middleware can now take the URLs of the services it talks to and the Redis host from environment variables, as it already does for SERVER_HOST.

Change

  • REDIS_HOST, HASURA_URL, HASURA_BBB_GRAPHQL_ACTIONS_ADAPTER_URL, AUTH_HOOK_URL and SESSION_VARS_HOOK_URL, if set and not empty, win over config.yml and /etc/bigbluebutton/bbb-graphql-middleware.yml.
  • One small map from variable name to config field, instead of one if per key.
  • REDIS_HOST is the name bbb-apps-akka uses. HASURA_BBB_GRAPHQL_ACTIONS_ADAPTER_URL is the name bbb-graphql-server already uses for the same URL. The other three are new and follow the key names.
  • Each variable is noted next to its key in config.yml.

Why

Containers no longer need an override file only to replace 127.0.0.1 with service names.

Package installs

Nothing changes: none of these variables is set there.

Checked

The four cases (nothing set, override file only, env only, both): with nothing set, and with the file only, the config is the same as before; env wins when set. go test ./... passes.

…om the environment

REDIS_HOST, HASURA_URL, HASURA_BBB_GRAPHQL_ACTIONS_ADAPTER_URL, AUTH_HOOK_URL and
SESSION_VARS_HOOK_URL, if set, win over config.yml and
/etc/bigbluebutton/bbb-graphql-middleware.yml, as SERVER_HOST already does. With none
of them set, nothing changes. REDIS_HOST is the name bbb-apps-akka uses, and
HASURA_BBB_GRAPHQL_ACTIONS_ADAPTER_URL the one bbb-graphql-server uses for the same URL.
@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: 5dcef825-0007-46e6-8227-2825f39bbcef

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 failed

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