alertify/README.md

49 lines
1 KiB
Markdown
Raw Normal View History

2020-10-13 15:36:16 +01:00
This application bridges Alertmanager alerts to [Gotify](https://gotify.net).
2020-10-13 15:31:33 +01:00
# Notes
2020-10-13 15:36:16 +01:00
* Listens on port 8080 by default.
2020-10-13 15:31:33 +01:00
* Forwards `resolved` alerts, if sent.
* Defaults, if not sent:
| Field | Default value |
|-------------|---------------|
| Priority | `5` |
| Description | `...` |
| Severity | `Default` |
# Docker
## Run
e.g.
```bash
2020-10-13 15:36:16 +01:00
docker run -p 8080:8080 -e TZ=Europe/London -e GOTIFY_KEY=XXXXXXXX -e GOTIFY_SERVER=gotify -e GOTIFY_PORT=80 alertify:latest
2020-10-13 15:31:33 +01:00
```
## Compose:
```yaml
---
version: "2"
services:
gotify:
image: gotify/server:latest
container_name: gotify
environment:
- TZ=Europe/London
volumes:
- config/config.yml:/etc/gotify/config.yml
- data:/app/data
restart: unless-stopped
alertify:
image: alertify:latest
container_name: alertify
2020-10-13 15:36:16 +01:00
ports:
- "8080:8080"
2020-10-13 15:31:33 +01:00
environment:
- TZ=Europe/London
- GOTIFY_KEY=XXXXXXXXXXXX
- GOTIFY_SERVER=gotify
- GOTIFY_PORT=80
restart: unless-stopped
```