Replies: 1 comment 4 replies
-
This is by design. RabbitMQ expects a consistent hostname. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Running RabbitMQ in docker, with a persistent volume defined for its data will still loose its configuration (queues, etc.) on a restart if
hostname
is not defined for the container.If a hostname is not explicitly defined, docker will use a random string. The configuration is saved in
/var/lib/rabbitmq/mnesia/rabbit@$hostname
so it will be different on every restart.Reproduction steps
/var/lib/rabbitmq
Expected behavior
Expected behavior is for configuration to survive restarts in docker.
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions