From eb1d18448d0eb2b085e903a57ef3d0ae20c3facf Mon Sep 17 00:00:00 2001 From: Piotr Biernat Date: Mon, 20 Mar 2023 17:24:04 +0100 Subject: [PATCH] update --- Dockerfile | 5 +++-- api-eventbus/etc/conf.d/45-plugin-prometheus.conf | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 api-eventbus/etc/conf.d/45-plugin-prometheus.conf diff --git a/Dockerfile b/Dockerfile index b33f320..eb00294 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,9 @@ LABEL dev.egommerce.image.version="1.0" COPY ./api-eventbus/etc /etc/rabbitmq COPY ./api-eventbus/entrypoint.sh ./api-eventbus/wait-for-it.sh / -RUN rabbitmq-plugins --offline enable rabbitmq_peer_discovery_consul -RUN chmod 755 /entrypoint.sh +RUN rabbitmq-plugins --offline enable rabbitmq_peer_discovery_consul rabbitmq_prometheus && \ + chmod 755 /entrypoint.sh +# rabbitmq-plugins --offline enable rabbitmq_prometheus && \ EXPOSE 5672 diff --git a/api-eventbus/etc/conf.d/45-plugin-prometheus.conf b/api-eventbus/etc/conf.d/45-plugin-prometheus.conf new file mode 100644 index 0000000..14da7de --- /dev/null +++ b/api-eventbus/etc/conf.d/45-plugin-prometheus.conf @@ -0,0 +1 @@ +prometheus.tcp.port = 8084