Compare commits
No commits in common. "e3698f36265f086662da68f46dc6810b51ea9d2c" and "78ab4aa15abaf9c6817f31c6eb3935199487fc27" have entirely different histories.
e3698f3626
...
78ab4aa15a
@ -1,18 +0,0 @@
|
|||||||
# 3.13 management
|
|
||||||
FROM rabbitmq:3.13-rc
|
|
||||||
|
|
||||||
RUN set eux; \
|
|
||||||
rabbitmq-plugins enable --offline rabbitmq_management; \
|
|
||||||
# make sure the metrics collector is re-enabled (disabled in the base image for Prometheus-style metrics by default)
|
|
||||||
rm -f /etc/rabbitmq/conf.d/20-management_agent.disable_metrics_collector.conf; \
|
|
||||||
# grab "rabbitmqadmin" from inside the "rabbitmq_management-X.Y.Z" plugin folder
|
|
||||||
# see https://github.com/docker-library/rabbitmq/issues/207
|
|
||||||
cp /plugins/rabbitmq_management-*/priv/www/cli/rabbitmqadmin /usr/local/bin/rabbitmqadmin; \
|
|
||||||
[ -s /usr/local/bin/rabbitmqadmin ]; \
|
|
||||||
chmod +x /usr/local/bin/rabbitmqadmin; \
|
|
||||||
apt-get update; \
|
|
||||||
apt-get install -y --no-install-recommends python3; \
|
|
||||||
rm -rf /var/lib/apt/lists/*; \
|
|
||||||
rabbitmqadmin --version
|
|
||||||
|
|
||||||
EXPOSE 15671 15672
|
|
@ -1,18 +1,14 @@
|
|||||||
---
|
---
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
rabbitmq:
|
file-browser:
|
||||||
build: ./
|
image:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
container_name: rabbitmq
|
container_name: rabbitmq
|
||||||
# Configuration
|
|
||||||
# https://www.rabbitmq.com/configure.html
|
|
||||||
volumes:
|
|
||||||
- ./rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
|
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
ports:
|
environment:
|
||||||
# Web-management
|
- RABBITMQ_DEFAULT_USER=username
|
||||||
- 8080:15672
|
- RABBITMQ_DEFAULT_PASS=password
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user