Add placeholder templates

This commit is contained in:
Luke Murphy 2020-04-09 09:03:51 +02:00
parent 0a171abe48
commit 3190f33edb
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,5 @@
[DEFAULT]
sslverify = no
output = psql
endpoint = http://localhost:8080/api
timezone = Europe/London

View File

@ -0,0 +1,24 @@
DEBUG = True
SECRET = "^Bpa%i8_nCAc8fI4l9)nhn2EG2!@GJga"
AUTH_REQUIRED = True
SEVERITY_MAP = {
'fatal': 0,
'critical': 1,
'major': 2,
'minor': 3,
'warning': 4,
'indeterminate': 5,
'cleared': 5,
'normal': 5,
'ok': 5,
'informational': 6,
'debug': 7,
'trace': 8,
'unknown': 9
}
DEFAULT_NORMAL_SEVERITY = 'normal' # 'normal', 'ok', 'cleared'
DEFAULT_PREVIOUS_SEVERITY = 'indeterminate'
PLUGINS = ['reject', 'blackout', 'geoip', 'normalise']
GEOIP_URL = 'http://ip-api.com/json'

View File

@ -0,0 +1 @@
{"endpoint": "https://alerta-api.example.com"}