api-eventbus/Dockerfile

19 lines
577 B
Docker
Raw Normal View History

2022-11-30 02:28:31 +01:00
FROM rabbitmq:3-management-alpine
2022-12-02 22:07:55 +01:00
LABEL dev.egommerce.image.author="Piotr Biernat"
LABEL dev.egommerce.image.vendor="Egommerce"
LABEL dev.egommerce.image.service="api-eventubus"
LABEL dev.egommerce.image.version="1.0"
2022-11-30 02:28:31 +01:00
COPY ./api-eventbus/etc /etc/rabbitmq
2022-12-06 06:40:56 +01:00
COPY ./api-eventbus/entrypoint.sh ./api-eventbus/wait-for-it.sh /
2022-11-30 02:28:31 +01:00
2023-03-20 17:24:04 +01:00
RUN rabbitmq-plugins --offline enable rabbitmq_peer_discovery_consul rabbitmq_prometheus && \
chmod 755 /entrypoint.sh
# rabbitmq-plugins --offline enable rabbitmq_prometheus && \
2022-11-30 02:28:31 +01:00
EXPOSE 5672
2022-12-06 06:40:56 +01:00
ENTRYPOINT ["/entrypoint.sh"]
CMD ["rabbitmq-server"]