-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ee8b3c3
commit 7da1051
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
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
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 |
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
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 |
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