Created
December 11, 2016 19:18
-
-
Save vterdunov/e163712f049b079ca94de789ad569279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rabbitmq:3.6 | |
ENV RABBITMQ_USER user | |
ENV RABBITMQ_PASSWORD password | |
ARG PLUGIN_ADDRESS_AUTH_BACKEND_HTTP=https://bintray.com/rabbitmq/community-plugins/download_file?file_path=rabbitmq_auth_backend_http-3.6.x-1b27d722.ez | |
ARG PLUGIN_ADDRESS_MANAGEMENT_VISUALIZATOR=https://bintray.com/rabbitmq/community-plugins/download_file?file_path=rabbitmq_auth_backend_http-3.6.x-1b27d722.ez | |
# RUN curl -i -u guest:guest -H "content-type:application/json" \ | |
# -XPUT -d'{"type":"direct","durable":true}' \ | |
# http://localhost:15672/api/exchanges/%2f/my-new-exchange | |
RUN apt-get update && \ | |
apt-get install -y curl | |
RUN \ | |
rabbitmq-plugins enable --offline rabbitmq_management && \ | |
rabbitmq-plugins enable --offline rabbitmq_recent_history_exchange && \ | |
rabbitmq-plugins enable --offline rabbitmq_stomp && \ | |
rabbitmq-plugins enable --offline rabbitmq_web_stomp && \ | |
rabbitmq-plugins enable --offline rabbitmq_top && \ | |
curl -sLo /plugins/rabbitmq_auth_backend_http.ez ${PLUGIN_ADDRESS_AUTH_BACKEND_HTTP} && \ | |
rabbitmq-plugins enable --offline rabbitmq_auth_backend_http | |
# curl -sLo /plugins/rabbitmq_management_visualiser.ez ${PLUGIN_ADDRESS_MANAGEMENT_VISUALIZATOR} && \ | |
# rabbitmq-plugins enable --offline rabbitmq_management_visualiser | |
# rabbitmq_management_visualiser rabbitmq_top |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment