From a7dc62aaa0597342a5bbf2dd20cca3ddbfa6f318 Mon Sep 17 00:00:00 2001 From: Hermann Kao <5721889-itishermann@users.noreply.gitlab.com> Date: Fri, 27 Oct 2023 00:42:15 +0200 Subject: [PATCH] add service template for rabbitmq --- templates/compose/rabbitmq.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 templates/compose/rabbitmq.yaml diff --git a/templates/compose/rabbitmq.yaml b/templates/compose/rabbitmq.yaml new file mode 100644 index 000000000..4633ba952 --- /dev/null +++ b/templates/compose/rabbitmq.yaml @@ -0,0 +1,17 @@ +# documentation: https://www.rabbitmq.com/documentation.html +# slogan: With tens of thousands of users, RabbitMQ is one of the most popular open source message brokers +# tags: message broker, message queue, message-oriented middleware, MOM, AMQP, MQTT, STOMP, messaging + +services: + rabbitmq: + image: rabbitmq:3.8-management + environment: + - SERVICE_FQDN_RABBITMQ_15672 + - SERVICE_FQDN_RABBITMQ_5672 + - RABBITMQ_DEFAULT_USER=$SERVICE_USER_RABBITMQ + - RABBITMQ_DEFAULT_PASS=$SERVICE_PASSWORD_RABBITMQ + healthcheck: + test: rabbitmq-diagnostics -q ping + interval: 30s + timeout: 30s + retries: 3