Skip to content

coast-team/mute-logs-collector

Repository files navigation

Mute-logs-collector

Use with Docker

docker-compose up to start all elements

Rabbitmq container

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

Mongodb and Mongodb-express container

You will be able to monitor de mongodb database with th emongodb-express container. Go to the webpage http://localhost:8081.

Node container

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

Standalone usage

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published