/naualertsbot

Alerting bot for NAU

Primary LanguagePythonApache License 2.0Apache-2.0

NAU Alerts

Workflow status Latest release Latest tag
License Code style: black
Code size Commit activity
NAU Alerts Bot for sending notifications on NAU chats.

Running

The example repository configuration and the docker-compose file are configured to run on the NAU Digital infrastructure. If you want to run it on your own infrastructure, you need to modify the docker-compose.yml and config.yml files.

  1. Choose image and tag
export IMAGE=ghcr.io/naudigital/naualertsbot
export TAG=latest
  1. Copy example config
cp config.example.yml config.yml
  1. Fill config.yml with your data
  2. Create docker config from config.yml file
docker config create naualertsbot config.yml
  1. Deploy stack to swarm
docker stack deploy -c docker-compose.yml naualertsbot