# I am a complete /etc/rabbitmq/rabbitmq-env.conf file.
# Comment lines start with a hash character.
# This is a /bin/sh script file - use ordinary envt var syntax
RABBITMQ_NODENAME=honkon
DockerFile文件創(chuàng)建rabbitMQ:
# Version 0.0.1
FROM rabbitmq:3.6.10-management
#創(chuàng)建文件所在目錄
RUN mkdir -p /var/lib/rabbitmq
#VOLUME
VOLUME ["/var/lib/rabbitmq"]
COPY rabbitmq-env.conf /etc/rabbitmq/rabbitmq-env.conf