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
Luke Murphy e33d944796
All checks were successful
continuous-integration/drone/push Build is passing
Flesh out more smtp config
2020-04-10 10:03:23 +02:00

76 lines
1.5 KiB
Plaintext

SITE_LOGO_URL = "https://www.coops.tech/images/coops/autonomic"
DEBUG = True
SECRET = "{{ alerta_secret_key }}"
ALLOWED_ENVIRONMENTS = [
"autonomic-internal"
]
BASE_URL = "/api"
USE_PROXYFIX = True
AUTH_REQUIRED = True
AUTH_PROVIDER = "keycloak"
ADMIN_USERS = [
"calix",
"decentral1se",
"gunnar",
"kawaiipunk",
"naomi",
"roxie",
"takkaria"
]
USER_DEFAULT_SCOPES = ["admin"]
SIGNUP_ENABLED = False
KEYCLOAK_URL = "{{ keycloak_url }}"
KEYCLOAK_REALM = "{{ keycloak_realm }}"
ALLOWED_KEYCLOAK_ROLES = ["{{ keycloak_role }}"]
OAUTH2_CLIENT_ID = "{{ oauth_client_id }}"
OAUTH2_CLIENT_SECRET = "{{ oauth_client_secret }}"
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"
DEFAULT_PREVIOUS_SEVERITY = "indeterminate"
PLUGINS = [
"alerta-mailer",
"amqp",
"blackout",
"normalise",
"reject",
]
AMQP_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/kombu"
AMQP_TOPIC = "notify"
DATABASE_URL = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}/{{ db_name }}"
DATABASE_NAME = "{{ db_name }}"
EMAIL_VERIFICATION = False
MAIL_FROM = "{{ mail_from }}"
SMTP_HOST = "{{ smtp_host }}"
SMTP_PASSWORD = "{{ smtp_passwd }}"
SMTP_PORT = "{{ smtp_port }}"
SMTP_STARTTLS = True
SMTP_USERNAME = "{{ smtp_username }}"