Skip to content

Commit

Permalink
sync with 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
deadtrickster committed Dec 21, 2017
1 parent ee8b3c3 commit 7da1051
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
FROM rabbitmq:3.6.14-management
FROM rabbitmq:3.7-management
MAINTAINER Ilya Khaprov <[email protected]>

# prometheus exporter plugin
ADD ["plugins/accept-*", \
"plugins/prometheus-*", \
"plugins/prometheus_httpd-*", \
"plugins/prometheus_httpd-*",\
"plugins/prometheus_cowboy-*", \
"plugins/prometheus_process_collector-*", \
"plugins/prometheus_rabbitmq_exporter-*", \
"/usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/"]
RUN chmod a+r /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/prometheus*.ez /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/accept*.ez \
&& rabbitmq-plugins enable --offline prometheus accept prometheus_rabbitmq_exporter prometheus_process_collector prometheus_httpd \
&& rabbitmq-plugins enable --offline prometheus accept prometheus_rabbitmq_exporter prometheus_process_collector prometheus_httpd prometheus_cowboy \
&& chmod -R 777 /etc/rabbitmq
5 changes: 3 additions & 2 deletions Dockerfile.pure
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM rabbitmq:3.6.14-management
FROM rabbitmq:3.7-management
MAINTAINER Ilya Khaprov <[email protected]>

# prometheus exporter plugin
ADD ["plugins/accept-*", \
"plugins/prometheus-*", \
"plugins/prometheus_httpd-*", \
"plugins/prometheus_cowboy-*", \
"plugins/prometheus_rabbitmq_exporter-*", \
"/usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/"]
RUN chmod a+r /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/prometheus*.ez /usr/lib/rabbitmq/lib/rabbitmq_server-${RABBITMQ_VERSION}/plugins/accept*.ez \
&& rabbitmq-plugins enable --offline accept prometheus prometheus_rabbitmq_exporter prometheus_httpd \
&& rabbitmq-plugins enable --offline accept prometheus prometheus_rabbitmq_exporter prometheus_httpd prometheus_cowboy \
&& chmod -R 777 /etc/rabbitmq
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PROJECT_DESCRIPTION = Prometheus.io exporter as a RabbitMQ Managment Plugin plug

DEPS = rabbitmq_management prometheus prometheus_httpd accept \
prometheus_process_collector prometheus_cowboy
dep_prometheus = hex 3.4.4
dep_prometheus_process_collector = hex 1.3.0
dep_prometheus = hex 3.4.5
dep_prometheus_process_collector = hex 1.3.1
dep_prometheus_httpd = hex 2.1.8
dep_accept = hex 0.3.3
dep_prometheus_cowboy = hex 0.1.4
Expand Down

0 comments on commit 7da1051

Please sign in to comment.