Dmitry Nalobin
4 years ago
committed by
GitHub
5 changed files with 64 additions and 5 deletions
@ -1 +1 @@
|
||||
Subproject commit 4e0a2a507415decb674bbbccd293d9786e6f117a |
||||
Subproject commit 53e392a517bb5df8053c2271fe8db5740f725853 |
@ -0,0 +1,37 @@
|
||||
# (required) Grafana URL which can be queried from hastic-server host (e.g. http://localhost:3000), |
||||
GRAFANA_URL=http://localhost:3000 |
||||
|
||||
# (required) API-key of your Grafana instance |
||||
# (e.g. eyJrIjoiVjZqMHY0dHk4UEE3eEN4MzgzRnd2aURlMWlIdXdHNW4iLCJuIjoiaGFzdGljIiwiaWQiOjF9), |
||||
# see https://grafana.com/docs/grafana/latest/http_api/auth/#create-api-token |
||||
HASTIC_API_KEY= |
||||
|
||||
# (optional) websockets URL to connect to hastic-server from analytics |
||||
HASTIC_SERVER_URL=ws://localhost:8002 |
||||
|
||||
# (optional) port you want to run server on, default: 8000 |
||||
HASTIC_PORT=8000 |
||||
|
||||
# (optional) use it if you want to get webhooks on detections (e.g. http://localhost:8080) |
||||
HASTIC_WEBHOOK_URL=http://localhost:8080 |
||||
|
||||
# (optional) type of alerts (detections) receiver (e.g. webhook or alertmanager) |
||||
HASTIC_ALERT_TYPE= |
||||
|
||||
# (optional) URL to send alerts if ALERT_TYPE is alertmanager (e.g http://localhost:9093) |
||||
HASTIC_ALERTMANAGER_URL= |
||||
|
||||
# (optional) Hastic instance name which is used in alerts |
||||
HASTIC_INSTANCE_NAME= |
||||
|
||||
# (optional) whether to send a chart in the notification |
||||
HASTIC_ALERT_IMAGE= |
||||
|
||||
# (optional) connection-string for MongoDB (not used with nedb), (e.g. hastic:password@mongodb.example.com:27017/hastic) |
||||
HASTIC_DB_CONNECTION_STRING= |
||||
|
||||
# (optional) database type. Can have the following values: nedb, mongodb |
||||
HASTIC_DB_CONNECTION_TYPE= |
||||
|
||||
# (optional) timezone offset in hours from utc (e.g -3:30) |
||||
HASTIC_TIMEZONE_OFFSET= |
Loading…
Reference in new issue