version: "3.8"
services:
rabbitmq:
image: rabbitmq
ports:
- 5672:5672
volumes:
- "./rabbit_enabled_plugins:/etc/rabbitmq/enabled_plugins"
FROM rabbitmq:3.7.18-management
COPY ./rabbitmq_delayed_message_exchange-20171201-3.7.x.ez /opt/rabbitmq/plugins/
RUN rabbitmq-plugins enable rabbitmq_delayed_message_exchange