Skip to content

Hardcoded sample credentials in rabbitmq dockerfile make it hard to use in production #134

Description

@collectoss-issue-migrator

Note

Migrated from augurlabs/augur#3402
Originally opened by @MoralCode on 2025-11-12


https://github.com/chaoss/augur/blob/4732c8090ec76924d6c920c991eedd9e26d73617/docker/rabbitmq/Dockerfile#L8-L10

These lines seem to be causing issues when trying to use the rabbitmq container in a production stack for Augur. Building this container as-is seems to cause the augur container to fail with the following error when connecting to rabbit:

Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

This seems to be because, while the production setup was passing a custom username/password to both rabbit and augur, it seems like rabbit may be preferring its own default credentials from this Dockerfile (which are added at build time, not runtime).

Wanted to file this issue to invite discussion on what the best way to solve this is

Metadata

Metadata

Assignees

No one assigned

    Labels

    containersRelated to containers, container images, or the compose file, either in podman or in dockerdiscussionSeeking active feedback, usually for items under active development

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions