Skip to content

feat: Redis password support in bbb-graphql-actions - #25179

Closed
prlanzarin with Copilot wants to merge 3 commits into
v4.0.x-developfrom
copilot/bbb-graphql-actions-support-redis-passwords
Closed

prlanzarin with Copilot wants to merge 3 commits into
v4.0.x-developfrom
copilot/bbb-graphql-actions-support-redis-passwords

Conversation

Copilot AI commented May 27, 2026 •

Copy link
Copy Markdown
Contributor

bbb-graphql-actions had no support for connecting to password-protected Redis instances.

Changes

  • src/config.ts — Add BBB_REDIS_PASSWORD env var (optional, defaults to empty)
  • src/imports/redis.ts — Include password in the Redis connection URL when set (URI-encoded)
  • bbb-graphql-actions.service — Add EnvironmentFile=-/etc/bigbluebutton/bbb-graphql-actions.env for clean env var injection (optional; - prefix means the service starts fine without it)
  • README.md — Terse docs pointing to src/config.ts for env vars and explaining the systemd env file

Usage

# /etc/bigbluebutton/bbb-graphql-actions.env
BBB_REDIS_PASSWORD=your-redis-password

Follows the same EnvironmentFile pattern used by bbb-graphql-server, bbb-web, and bbb-shared-notes-server.

Add BBB_REDIS_PASSWORD environment variable support so that
bbb-graphql-actions can connect to password-protected Redis instances.

- Add REDIS_PASSWORD config from BBB_REDIS_PASSWORD env var
- Include password in Redis connection URL with URI encoding
- Add EnvironmentFile directive to systemd service
- Create README.md with configuration documentation
Copilot AI changed the title [WIP] Add support for Redis passwords in bbb-graphql-actions Add Redis password support to bbb-graphql-actions May 27, 2026
Copilot AI requested a review from prlanzarin May 27, 2026 19:02
@prlanzarin

Copy link
Copy Markdown
Member

This is a test PR on my end, but the issue it's tackling is actually significant.
Migrating to Ubuntu 24 (#24805) bumped Redis to 7.x.

Redis 7.x changed the semantics of protected-mode: it no longer is bypassed even if the bind configuration is specified by admins. This may break installations that use bridged docker containers that need to connect to the host's redis server.

One proper way of fixing this is setting a password in Redis, which all components need to support.

Remove verbose env var table and point to src/config.ts instead.
Condense systemd section to mention the directive, file path, and
that it is optional.
@prlanzarin
prlanzarin marked this pull request as ready for review May 29, 2026 04:11
@sonarqubecloud

Copy link
Copy Markdown

@antobinary antobinary added this to the Release 4.0 milestone May 29, 2026
@prlanzarin prlanzarin changed the title Add Redis password support to bbb-graphql-actions feat: Redis password support in bbb-graphql-actions Jun 29, 2026
@prlanzarin
prlanzarin requested a review from ramonlsouza June 29, 2026 13:28
@ramonlsouza
ramonlsouza requested review from TiagoJacobs and removed request for ramonlsouza July 7, 2026 12:01
[`src/config.ts`](src/config.ts) for the full list of supported variables and
their defaults.

The systemd unit includes an `EnvironmentFile=-/etc/bigbluebutton/bbb-graphql-actions.env`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you consider adding this .env in https://github.com/bigbluebutton/bigbluebutton/blob/v4.0.x-release/docs/docs/administration/configuration-files.md?plain=1#L29 table too?
I see we already have at least one row with no "override" match, so this would not be precedent.

@prlanzarin prlanzarin closed this Jul 21, 2026
@prlanzarin
prlanzarin deleted the copilot/bbb-graphql-actions-support-redis-passwords branch July 21, 2026 01:54
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.0] bbb-graphql-actions does not support Redis passwords

3 participants