mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
13 lines
641 B
Docker
13 lines
641 B
Docker
FROM rabbitmq:3.9-management
|
|
|
|
COPY ./users.ejs /opt/rabbitmq/plugins/rabbitmq_management-3.9.29/priv/www/js/tmpl
|
|
COPY ./limits.ejs /opt/rabbitmq/plugins/rabbitmq_management-3.9.29/priv/www/js/tmpl
|
|
|
|
RUN apt-get -o Acquire::Check-Date=false update && apt-get install -y curl
|
|
|
|
RUN curl -L https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/3.9.0/rabbitmq_delayed_message_exchange-3.9.0.ez > $RABBITMQ_HOME/plugins/rabbitmq_delayed_message_exchange-3.9.0.ez
|
|
|
|
RUN chown rabbitmq:rabbitmq $RABBITMQ_HOME/plugins/rabbitmq_delayed_message_exchange-3.9.0.ez
|
|
|
|
RUN rabbitmq-plugins enable rabbitmq_delayed_message_exchange
|