Skip to content

miquido/alertmanager-webhook-forwarder

Repository files navigation

Alertmanager Webhook Forwarder


Build Matrix

CI Job Branch develop Branch master
Circle CircleCI CircleCI

Docker Guide

Build

docker-compose build --pull

Run

docker-compose run --rm cli help

# or
docker-compose up server

# 2nd terminal
curl http://localhost:8080/healthz

Lint

docker-compose run --rm go

Go Guide

Init

export GO111MODULE=on
go mod init
go mod download
go mod verify

Run

go run main.go help

Build

go build -o alertmanager-webhook-forwarder main.go
./alertmanager-webhook-forwarder help