-
run:
docker-compose up # use -d to run containers in the backgroundPress
Ctrl+cto stop the docker container. -
run
npm iin mq and mq_workers projects -
Go to http://127.0.0.1:15672
-
Go to
Queues -
Add a queue
Name: messages -
in the Postman import
MQ.postman_collection.json -
for MySQL test use
http://localhost:8000/api/mysqland pass the follow variable in to the body:{ "msg": "Mysql MSG" } -
for MQ test use
http://localhost:8000/api/mq
To remove:
docker-compose down -vmysql: MySQL Serverrabbitmq: RabbitMQ Servermq: API appmq_workers: MQ Workers app
- internal:
mysql:3306, external:127.0.0.1:4006 - Username:
user - Password:
pass
- Username:
user - Password:
bitnami