Skip to content

rabbitmq should be a default user #696

Answered by jyotty
eveningsteps asked this question in Q&A
Discussion options

You must be logged in to vote

I too have only been seeing this with Github Actions and docker compose health checks.

I think what's happening is that the healthcheck command is firing as root, creating the cookie file as root, in between this part of the entrypoint chowning /var/lib/rabbitmq and rabbitmq-server, having dropped permissions with gosu in the entrypoint, creating it on its own. Adjusting the start_interval of the healthcheck to 10 seconds or so resolved the issue.

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@eveningsteps
Comment options

@lukebakken
Comment options

Comment options

You must be logged in to vote
1 reply
@lukebakken
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #695 on April 17, 2024 21:18.