notifications

command module
v0.0.0-...-d834f5f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 19 Imported by: 0

README

Alerta Notifications

Prerequisites

  • setup an Alerta instance
  • setup an Smtp server
  • setup a slack subscription

Build and Run

to run the project locally, adjust config/config.yml to your local setup and execute

go build
./notifications config/config.yml

Release

Find the latest tag:

git fetch --tags
git describe --tags $(git rev-list --tags --max-count=1)

Create a new tag and publish docker image to Github packages

./release.sh <release version> <github_username> <github_packages_token>

Docker

Build an image

docker build -t "guanacoio/notifications:latest" .

Run Compose file or run container

cd docker
docker-compose up

or

docker run -td guanacoio/notifications:latest

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL