Skip to content

goolz/rabbitmq-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to the Rabbit MQ Demo

Getting started

  1. run:

        docker-compose up # use -d to run containers in the background

    Press Ctrl+c to stop the docker container.

  2. run npm i in mq and mq_workers projects

  3. Go to http://127.0.0.1:15672

  4. Go to Queues

  5. Add a queue Name: messages

  6. in the Postman import MQ.postman_collection.json

  7. for MySQL test use http://localhost:8000/api/mysql and pass the follow variable in to the body:

        {
            "msg": "Mysql MSG"
        }
  8. for MQ test use http://localhost:8000/api/mq

To remove:

    docker-compose down -v

Server names

  1. mysql: MySQL Server
  2. rabbitmq: RabbitMQ Server
  3. mq: API app
  4. mq_workers: MQ Workers app

How to access

MySQL

  • internal: mysql:3306, external: 127.0.0.1:4006
  • Username: user
  • Password: pass

RabbitMQ

  • Username: user
  • Password: bitnami

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.1%
  • Dockerfile 6.9%