feat:support rabbitmq v3.9

This commit is contained in:
zhuocwang 2021-08-16 21:44:49 +08:00
parent 9707cb44b1
commit f16445c9f2
3 changed files with 5 additions and 3 deletions

View File

@ -804,12 +804,11 @@ services:
- "${RABBITMQ_MANAGEMENT_HTTP_HOST_PORT}:15672" - "${RABBITMQ_MANAGEMENT_HTTP_HOST_PORT}:15672"
- "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671" - "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671"
privileged: true privileged: true
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
hostname: laradock-rabbitmq hostname: laradock-rabbitmq
volumes: volumes:
- ${DATA_PATH_HOST}/rabbitmq:/var/lib/rabbitmq - ${DATA_PATH_HOST}/rabbitmq:/var/lib/rabbitmq
- ./rabbitmq/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf
- ./rabbitmq/management_agent.disable_metrics_collector.conf:/etc/rabbitmq/conf.d/management_agent.disable_metrics_collector.conf
depends_on: depends_on:
- php-fpm - php-fpm
networks: networks:

View File

@ -0,0 +1 @@
management_agent.disable_metrics_collector = false

2
rabbitmq/rabbitmq.conf Normal file
View File

@ -0,0 +1,2 @@
default_user = guest
default_pass = guest