Browse Source

Update HOOKS.md

pull/1/head
Alexey Velikiy 7 years ago committed by GitHub
parent
commit
57665cb21c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 16
      HOOKS.md

16
HOOKS.md

@ -14,3 +14,19 @@ Alert example (method: POST):
`status` field can be one of:
- `alert`
- `OK`
# Docker run
```
docker run -d --name hastic-server -p 80:8000 -e HASTIC_API_KEY=<your_grafana_api_key> HASTIC_ALERT_ENDPOINT="http://exam.ple" hastic-server
```
# Node run
Add variable before launch node.js server
```
$ export HASTIC_ALERT_ENDPOINT=http://alert.example.com
$ cd hastic-server/server
$ npm start
```

Loading…
Cancel
Save