Repository navigation
feat: Redis password support in bbb-graphql-actions - #25179
prlanzarin with Copilot wants to merge 3 commits into
Conversation
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
|
This is a test PR on my end, but the issue it's tackling is actually significant. Redis 7.x changed the semantics of protected-mode: it no longer is bypassed even if the 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.
|
| [`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` |
There was a problem hiding this comment.
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.



bbb-graphql-actionshad no support for connecting to password-protected Redis instances.Changes
src/config.ts— AddBBB_REDIS_PASSWORDenv var (optional, defaults to empty)src/imports/redis.ts— Include password in the Redis connection URL when set (URI-encoded)bbb-graphql-actions.service— AddEnvironmentFile=-/etc/bigbluebutton/bbb-graphql-actions.envfor clean env var injection (optional;-prefix means the service starts fine without it)README.md— Terse docs pointing tosrc/config.tsfor env vars and explaining the systemd env fileUsage
# /etc/bigbluebutton/bbb-graphql-actions.env BBB_REDIS_PASSWORD=your-redis-passwordFollows the same
EnvironmentFilepattern used bybbb-graphql-server,bbb-web, andbbb-shared-notes-server.