Consumer rabitqueues and publish to rocket chat
This project is to publish messages from the rabbit queue to a rocket chat channel, you must first create a user and password that the app will use. This project arose from the need to have an error monitor in a data migration process, this simply notified that the program could not resolve said migration and there had to be human intervention.
Firts you need create .env
file and put yours credentials access
RABBIT_HOST=
RABBIT_PORT=
RABBIT_USERNAME=
RABBIT_PASSWORD=
RABBIT_QUEUE=
RABBIT_EXCHANGE=
RABBIT_ROUTING_KEY=
ROCKET_SERVER=
ROCKET_PORT=
ROCKET_USER=
ROCKET_EMAIL=
ROCKET_PASSWORD=
Run
for development you can use docker-compose.debug.yaml
docker-compose up -d -f docker-compose.debug.yaml
run with docker-compose
you can run on windows or linux but if you prefer you can use a docker image for that.
docker pull jhovanylinkin/rabbitmq-rocketchat-publisher:tagname
example with docker-compose
docker-compose up -d