#--restart=always
#-e RABBITMQ_VM_MEMORY_HIGH_WATERMARK=1024MiBdocker
docker run -d \
--name rabbitmq \
--hostname myrabbit \
-e RABBITMQ_DEFAULT_USER=admin \
-e RABBITMQ_DEFAULT_PASS=admin \
-e RABBITMQ_DEFAULT_VHOST=vhost \
-p 15672:15672 \
-p 5672:5672 \
-v /usr/local/rabbitmq:/etc/rabbitmq \
-v /usr/local/rabbitmq/data:/var/lib/rabbitmq \
-v /usr/local/rabbitmq/log/:/var/log/rabbitmq \
rabbitmq:management
rest