diff --git a/ansible/templates/alerta.conf b/ansible/templates/alerta.conf index 166e34b..ef386b2 100644 --- a/ansible/templates/alerta.conf +++ b/ansible/templates/alerta.conf @@ -1,14 +1,14 @@ [DEFAULT] -endpoint = https://{{ domain }}/api +endpoint = http://localhost:8080/api output = psql -sslverify = True +sslverify = False timezone = Europe/London [alerta-mailer] amqp_url = "{{ db_type }}://{{ db_user }}:{{ db_passwd }}@{{ db_loc }}" debug = True email_type = text -endpoint = https://{{ domain }} +endpoint = http://localhost:8080 key = {{ alerta_mailer_api_key }} mail_from = {{ mail_from }} mail_to = {{ mail_to }} diff --git a/ansible/templates/alertad.conf b/ansible/templates/alertad.conf index c116d8e..c43df2c 100644 --- a/ansible/templates/alertad.conf +++ b/ansible/templates/alertad.conf @@ -11,11 +11,7 @@ ALLOWED_ENVIRONMENTS = [ BASE_URL = "/api" USE_PROXYFIX = True -# Note(decentral1se): on initial deployment, this must be set to False but on -# subsequent deployments, we can then turn it to True once the Keycloak -# integration has been configured and API keys have been setup -AUTH_REQUIRED = False - +AUTH_REQUIRED = True AUTH_PROVIDER = "keycloak" ADMIN_USERS = [ diff --git a/ansible/templates/config.json b/ansible/templates/config.json index ce7b959..ef1afee 100644 --- a/ansible/templates/config.json +++ b/ansible/templates/config.json @@ -1 +1 @@ -{ "endpoint": "https://{{ domain }}" } +{ "endpoint": "http://localhost:8080" }