Skip to content

wesley-ramos/rabbitmq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directory Organization

./
├── grafana
│   └── dashboard.json
│
├── haproxy
│   ├── Dockerfile 
│   └── haproxy.cfg
│
├── prometheus
│   └──prometheus.yml 
│
├── rabbitmq
│   ├── Dockerfile 
│   └── rabbit.conf
│
└── docker-compose.yml

How to start the cluster ?

docker-compose build
docker-compose up -d

How to start replication between master and slave ?

docker exec -it rabbitmq_master rabbitmqctl set_policy ha-all ".*" '{"ha-mode":"all"}

How to access the RabbitMQ panel ?

URL: http://localhost:15672
Username: admin
Password: admin

How to access and configure infrastructure monitoring ?

  1. Access grafana
URL: http://localhost:3000
Username: admin
Password: admin
  1. Create a datasource of type prometheus
Configuration->Data Sources->Add data source
  1. Import the dashboard
Create->Import->Upload .json File

select the ./grafana/dashboard.json

About

Running a message broker locally

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published