This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
alerta.autonomic.zone/ansible/templates/alertad.conf

78 lines
1.5 KiB
Plaintext
Raw Normal View History

2020-04-09 17:06:09 +00:00
SITE_LOGO_URL = "https://www.coops.tech/images/coops/autonomic"
2020-04-09 07:23:23 +00:00
2020-04-09 09:01:27 +00:00
DEBUG = True
2020-04-09 07:23:23 +00:00
2020-04-09 07:24:19 +00:00
SECRET = "{{ alerta_secret_key }}"
2020-04-09 07:23:23 +00:00
ALLOWED_ENVIRONMENTS = [
"autonomic-internal"
]
2020-04-09 07:55:34 +00:00
BASE_URL = "/api"
USE_PROXYFIX = True
2020-04-10 07:46:08 +00:00
AUTH_REQUIRED = True
2020-04-09 08:21:07 +00:00
AUTH_PROVIDER = "keycloak"
ADMIN_USERS = [
2020-04-09 08:21:47 +00:00
"calix",
2020-04-09 08:21:07 +00:00
"decentral1se",
2020-04-09 08:21:47 +00:00
"gunnar",
2020-04-09 08:21:07 +00:00
"kawaiipunk",
2020-04-09 08:21:47 +00:00
"naomi",
"roxie",
2020-04-09 08:21:07 +00:00
"takkaria"
]
USER_DEFAULT_SCOPES = ["admin"]
2020-04-09 07:23:23 +00:00
2020-04-09 08:05:37 +00:00
SIGNUP_ENABLED = False
2020-04-09 07:23:23 +00:00
KEYCLOAK_URL = "{{ keycloak_url }}"
KEYCLOAK_REALM = "{{ keycloak_realm }}"
2020-04-09 07:43:44 +00:00
ALLOWED_KEYCLOAK_ROLES = ["{{ keycloak_role }}"]
OAUTH2_CLIENT_ID = "{{ oauth_client_id }}"
OAUTH2_CLIENT_SECRET = "{{ oauth_client_secret }}"
2020-04-09 07:03:51 +00:00
SEVERITY_MAP = {
2020-04-09 17:06:09 +00:00
"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
2020-04-09 07:03:51 +00:00
}
2020-04-09 07:23:23 +00:00
2020-04-09 17:06:09 +00:00
DEFAULT_NORMAL_SEVERITY = "normal"
DEFAULT_PREVIOUS_SEVERITY = "indeterminate"
2020-04-09 07:03:51 +00:00
2020-04-09 19:25:55 +00:00
PLUGINS = [
"alerta-mailer",
"amqp",
"blackout",
"normalise",
"reject",
]
2020-04-09 07:23:23 +00:00
2020-04-10 07:49:38 +00:00
AMQP_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/kombu"
AMQP_TOPIC = "notify"
2020-04-09 19:25:55 +00:00
DATABASE_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
2020-04-09 07:23:23 +00:00
DATABASE_NAME = "{{ db_name }}"
EMAIL_VERIFICATION = False
2020-04-09 17:06:09 +00:00
MAIL_FROM = "{{ mail_from }}"
2020-04-10 08:03:23 +00:00
SMTP_HOST = "{{ smtp_host }}"
2020-04-09 16:29:33 +00:00
SMTP_PASSWORD = "{{ smtp_passwd }}"
2020-04-10 08:03:23 +00:00
SMTP_PORT = "{{ smtp_port }}"
2020-04-09 16:29:33 +00:00
SMTP_STARTTLS = True
2020-04-09 17:18:00 +00:00
SMTP_USERNAME = "{{ smtp_username }}"
2020-04-10 08:37:54 +00:00
CORS_ORIGINS = ["*"]