This is a very basic Docker image that sends Microsoft Teams notification
This image is used to send notification from kubernetes operators
Use
docker build . -t docker-notifier
docker run -e WEBHOOK_URL=<webhook_url> \
-e NOTIFICATION_TYPE=Teams \
-e MESSAGE_TITLE=Title \
-e MESSAGE_CONTENT=Content \
-it bouyguestelecom/docker-notifier
docker run -e SMTP_HOST=<smtp_host> \
-e NOTIFICATION_TYPE=Mail \
-e MAIL_FROM=foo@bar.com \
-e MAIL_TO=foo2@bar2.com,separated@comma.com \
-e MESSAGE_TITLE=Title \
-e MESSAGE_CONTENT=Content \
-it bouyguestelecom/docker-notifier
- Teams: example here
- Mail: example here