docker-compose up
to start all elements
You can use this message queue with websocket. The address is ws://localhost:15674/ws
.
You can use the web monitoring at http://localhost:15672
, user:mdp = guest:guest
You will be able to monitor de mongodb database with th emongodb-express container. Go to the webpage http://localhost:8081
.
This container have the node app. This app will pull messages from the muteLogs queue, and will store them into the mongodb database.
The message format is {collection: my-collection, data: my-data}
.
Then my-data will be stored into the collection my-collection
You can set MONGO_ADDR and RABBIT_ADDR environment variables or you can use the node app alone with the command node dist/app.js -- $my-mongodb-addr $my-rabbitmq-addr
. By default mongodb and rabbitmq address will be localhost