This commit is contained in:
Piotr Biernat 2023-03-20 17:24:04 +01:00
parent 719777a4d4
commit eb1d18448d
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -0,0 +1 @@
prometheus.tcp.port = 8084