docker compose enable rabbitmq enable plugins code example
Example 1: docker compose enable rabbitmq enable plugins
version: "3.8"
services:
rabbitmq:
image: rabbitmq
ports:
- 5672:5672
volumes:
- "./rabbit_enabled_plugins:/etc/rabbitmq/enabled_plugins"
Example 2: docker compose enable rabbitmq enable 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