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
Note
Migrated from augurlabs/augur#3402
Originally opened by
@MoralCodeon 2025-11-12https://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