Running rabbitmq as docker service: best practice

137 views
Skip to first unread message

Roman O

unread,
Jul 8, 2019, 10:13:38 AM7/8/19
to rabbitmq-users
Hello,
Are there any recommendations on how to use rabbitmq inside docker container?
Especially, in relation to durable queues mapped as volume stored at NFS servers?
For example, for MongoDB there's special relevant note
Thanks in advance

Michael Klishin

unread,
Jul 31, 2019, 6:13:42 PM7/31/19
to rabbitmq-users
One best practice is to not use network mounted filesystems, and absolutely NEVER share node data directories as that's a guaranteed way to correct node state.
Another one is: use stable hostnames as RabbitMQ node names always include a hostname part. Renaming node names is possible with rabbitmqctl
but that's not an easy thing to integrate into deployment automation.

Otherwise [1] covers most relevant parts that are equally applicable to containerized environments.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To post to this group, send email to rabbitm...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/2e8d9cea-916f-400a-bfaf-9d0c9bb49453%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
MK

Staff Software Engineer, Pivotal/RabbitMQ

Michael Klishin

unread,
Jul 31, 2019, 6:13:59 PM7/31/19
to rabbitmq-users
Reply all
Reply to author
Forward
0 new messages