Skip to content

Conversation

@mfiedorowicz
Copy link
Member

Set correct empty Redis username by default


This pull request updates the configuration for Redis credentials in the Diode server's Docker setup. The main focus is on how the REDIS_USERNAME environment variable is handled, ensuring consistency and proper injection of its value across the Docker Compose and sample environment files.

Docker Compose configuration updates:

  • In diode-server/docker/docker-compose.yaml, the REDIS_USERNAME environment variable is now set using {REDIS_USERNAME} instead of a hardcoded empty string, allowing for dynamic assignment from the environment. [1] [2]

Sample environment file update:

  • In diode-server/docker/sample.env, the default value for REDIS_USERNAME is changed from an empty string ("") to an empty value (REDIS_USERNAME=), clarifying that the username can be left unset or provided as needed.

Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
@mfiedorowicz mfiedorowicz merged commit 3625150 into develop Nov 25, 2025
7 checks passed
@mfiedorowicz mfiedorowicz deleted the fix-redis-username-env-vars branch November 25, 2025 13:57
barryCrunch pushed a commit to barryCrunch/diode that referenced this pull request Nov 26, 2025
…oxlabs#441)

Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants