From 0c88e4e35b2c72997c7f1463cdca4fae2cff698d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5?= <184172133@qq.com> Date: Wed, 29 Nov 2023 21:55:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E5=82=85=E5=93=A5=EF=BC=8Cfeat?= =?UTF-8?q?=EF=BC=9A=E7=8E=AF=E5=A2=83=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/dev-ops/docker-compose.yml | 17 +++++++++++++++++ docs/dev-ops/rabbitmq/enabled_plugins | 1 + 2 files changed, 18 insertions(+) create mode 100644 docs/dev-ops/docker-compose.yml create mode 100644 docs/dev-ops/rabbitmq/enabled_plugins diff --git a/docs/dev-ops/docker-compose.yml b/docs/dev-ops/docker-compose.yml new file mode 100644 index 0000000..23985f4 --- /dev/null +++ b/docs/dev-ops/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.7' +# docker-compose -f docker-compose-7.8.yml up -d +# rabbitmq-plugins enable rabbitmq_management +services: + rabbitmq: + image: rabbitmq:3.12.9 + container_name: rabbitmq + restart: always + ports: + - "5672:5672" + - "15672:15672" + environment: + RABBITMQ_DEFAULT_USER: admin + RABBITMQ_DEFAULT_PASS: admin + command: rabbitmq-server + volumes: + - ./rabbitmq/enabled_plugins:/etc/rabbitmq/enabled_plugins \ No newline at end of file diff --git a/docs/dev-ops/rabbitmq/enabled_plugins b/docs/dev-ops/rabbitmq/enabled_plugins new file mode 100644 index 0000000..90fdaa3 --- /dev/null +++ b/docs/dev-ops/rabbitmq/enabled_plugins @@ -0,0 +1 @@ +[rabbitmq_management]. \ No newline at end of file -- GitLab