diff --git a/.env.example b/.env.example index 664e1454..53db7ce1 100644 --- a/.env.example +++ b/.env.example @@ -452,8 +452,6 @@ SQS_MANAGEMENT_HTTP_HOST_PORT=9325 RABBITMQ_NODE_HOST_PORT=5672 RABBITMQ_MANAGEMENT_HTTP_HOST_PORT=15672 RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT=15671 -RABBITMQ_DEFAULT_USER=guest -RABBITMQ_DEFAULT_PASS=guest ### MERCURE ############################################## diff --git a/docker-compose.yml b/docker-compose.yml index 5847a80b..5846dddd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -804,12 +804,11 @@ services: - "${RABBITMQ_MANAGEMENT_HTTP_HOST_PORT}:15672" - "${RABBITMQ_MANAGEMENT_HTTPS_HOST_PORT}:15671" privileged: true - environment: - - RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER} - - RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS} hostname: laradock-rabbitmq volumes: - ${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: - php-fpm networks: diff --git a/rabbitmq/management_agent.disable_metrics_collector.conf b/rabbitmq/management_agent.disable_metrics_collector.conf new file mode 100644 index 00000000..cc680cc1 --- /dev/null +++ b/rabbitmq/management_agent.disable_metrics_collector.conf @@ -0,0 +1 @@ +management_agent.disable_metrics_collector = false diff --git a/rabbitmq/rabbitmq.conf b/rabbitmq/rabbitmq.conf new file mode 100644 index 00000000..a25686d6 --- /dev/null +++ b/rabbitmq/rabbitmq.conf @@ -0,0 +1,2 @@ +default_user = guest +default_pass = guest