CrossCopy / crosscopy-mq-notification-service-python

A notification service for sending emails and potentially more updates according to data and events received in message queue.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrossCopy Message Queue Notification System

Build Docker Image

Here is just a sample, you may need to change the docker registry, image name and tag, network name, etc, depending how how they are defined in your environment.

docker build . -t ghcr.io/crosscopy/xc-mq-notification:latest
docker run --rm -it --env-file ./.env --network=crosscopy ghcr.io/crosscopy/xc-mq-notification:latest
docker push ghcr.io/crosscopy/xc-mq-notification:latest

Environment Variables

Create a .env file with the following template

EMAIL_ADDRESS=noreply@gmail.com
EMAIL_PASSWORD=password
MAIL_SERVER=smtp.gmail.com
KAFKA_MODE=local
KAFKA_BOOTSTRAP_SERVERS=kafka:9092
KAFKA_SECURITY_PROTOCOL=
KAFKA_SASL_MECHANISMS=
KAFKA_SASL_USERNAME=
KAFKA_SASL_PASSWORD=

About

A notification service for sending emails and potentially more updates according to data and events received in message queue.


Languages

Language:Python 64.4%Language:HTML 31.3%Language:Shell 2.7%Language:Dockerfile 1.6%