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