Closed henrique-barreto closed 3 years ago
You have to create a Dockerfile
:
FROM rabbitmq:3.7-management
RUN apt-get update && apt-get install -y curl
USER rabbitmq
RUN curl -L https://github.com/noxdafox/rabbitmq-message-deduplication/releases/download/0.4.3/elixir-1.8.2.ez -o $RABBITMQ_HOME/plugins/elixir-1.8.2.ez
RUN curl -L https://github.com/noxdafox/rabbitmq-message-deduplication/releases/download/0.4.3/rabbitmq_message_deduplication-v3.8.x-0.4.3.ez -o $RABBITMQ_HOME/plugins/rabbitmq_message_deduplication-v3.8.x-0.4.3.ez
USER root
RUN apt-get remove -y curl && apt-get autoremove -y
RUN rabbitmq-plugins enable rabbitmq_message_deduplication
and use it in your docker-compose.yaml
:
rabbitmq:
build: ./docker/rabbitmq
Thanks @deuzu!
Please use issues only to report bugs or request features. This is not the medium for asking general questions.
Hello,
I have a docker-compose.yml that looks like this:
I'm trying to run this message-deduplication plugin with the docker compose file. Is it possible?