docker images
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FROM rabbitmq:3.12-management
|
||||
|
||||
# 复制 delayed message exchange 插件
|
||||
COPY plugins/rabbitmq_delayed_message_exchange-3.12.0.ez /opt/rabbitmq/plugins/
|
||||
|
||||
# 复制 enabled_plugins 配置文件
|
||||
COPY enabled_plugins /etc/rabbitmq/enabled_plugins
|
||||
|
||||
# 设置权限
|
||||
RUN chmod 644 /etc/rabbitmq/enabled_plugins && \
|
||||
chmod 755 /opt/rabbitmq/plugins/rabbitmq_delayed_message_exchange-3.12.0.ez
|
||||
|
||||
# 暴露端口
|
||||
EXPOSE 5672 15672
|
||||
|
||||
# 启动 RabbitMQ
|
||||
CMD ["rabbitmq-server"]
|
||||
@@ -0,0 +1,3 @@
|
||||
#/bin/bash
|
||||
|
||||
docker build -t rabbitmq:3.12-management-local .
|
||||
@@ -0,0 +1 @@
|
||||
[rabbitmq_delayed_message_exchange,rabbitmq_management,rabbitmq_prometheus].
|
||||
Binary file not shown.
Reference in New Issue
Block a user