Skip to content

7olstoy/go-rabbitmq-docker-sample

Repository files navigation

Docker-compose stand with RabbitMQ and sender/reciever.

About

First app is a producer that sends messages (1 per second / while-true loop), the second one is a consumer that receives messages and prints them out.

Requirements

  • Docker-compose

Single version with internal web-UI

git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
docker-compose up

After, you can check RabbitMQ internal dashboard at http://localhost:15672.

Single version with grafana dashboard and monitoring

git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
docker-compose -f docker-compose.monitoring.yml up

After, you can check Grafana RabbitMQ dashboard at http://localhost:3000 and admin:admin credentials.

Cluster version with grafana dashboard and monitoring

git clone https://github.com/7olstoy/go-rabbitmq-docker-sample
cd go-rabbitmq-docker-sample
sudo chmod 700 cluster/.erlang.cookie
docker-compose -f docker-compose.cluster.yml up

After, you can check Grafana RabbitMQ dashboard at http://localhost:3000 and admin:admin credentials.

Links

  • Go code from official rabbitmq docs;
  • Grafana dashboards from official rabbitmq repo.

About

Simple go app with RabbitMQ in docker-compose

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published