Revert "deploy alerta on grafana.hosts.hamburg.ccc.de"
All checks were successful
/ Ansible Lint (push) Successful in 2m23s
All checks were successful
/ Ansible Lint (push) Successful in 2m23s
This reverts commit b10d7d1592.
This commit is contained in:
parent
b6cec3ad61
commit
5d16c7781c
8 changed files with 3 additions and 114 deletions
|
|
@ -1,30 +0,0 @@
|
|||
# {{ ansible_managed }}
|
||||
# https://docs.alerta.io/configuration.html#authentication-settings
|
||||
|
||||
DEBUG = True
|
||||
SECRET_KEY = "{{ secret__alerta_secret_key }}"
|
||||
BASE_URL = "https://alerta.hamburg.ccc.de"
|
||||
USE_PROXYFIX = True
|
||||
|
||||
AUTH_REQUIRED = True
|
||||
USER_DEFAULT_SCOPES = ['read', 'write']
|
||||
OAUTH2_CLIENT_ID = "alerta"
|
||||
OAUTH2_CLIENT_SECRET = "{{ secret__alerta_oauth_client_secret }}"
|
||||
|
||||
# AUTH_PROVIDER = "keycloak"
|
||||
# KEYCLOAK_URL = "https://id.hamburg.ccc.de"
|
||||
# KEYCLOAK_REALM = "ccchh"
|
||||
# ALLOWED_KEYCLOAK_ROLES = "*"
|
||||
|
||||
AUTH_PROVIDER = "openid"
|
||||
OIDC_ISSUER_URL = "https://id.hamburg.ccc.de/realms/ccchh"
|
||||
OIDC_VERIFY_TOKEN = True
|
||||
ALLOWED_OIDC_ROLES = "*"
|
||||
|
||||
# AUTH_REQUIRED = True
|
||||
# ADMIN_USERS = ['admin@alerta.io', 'devops@example.com']
|
||||
# DEFAULT_ADMIN_ROLE = 'ops'
|
||||
# ADMIN_ROLES = ['ops', 'devops', 'coolkids']
|
||||
# USER_DEFAULT_SCOPES = ['read', 'write:alerts']
|
||||
# CUSTOMER_VIEWS = True
|
||||
|
||||
|
|
@ -9,9 +9,6 @@ route:
|
|||
group_interval: 5m
|
||||
repeat_interval: 26h
|
||||
routes:
|
||||
- receiver: alerta
|
||||
matchers: {}
|
||||
continue: true
|
||||
- receiver: "null"
|
||||
matchers:
|
||||
- sendAlert = "false"
|
||||
|
|
@ -76,8 +73,3 @@ receivers:
|
|||
smarthost: "cow.hamburg.ccc.de:587"
|
||||
auth_username: "alert-manager@hamburg.ccc.de"
|
||||
auth_password: {{ secret__alert_manager_email_password }}
|
||||
|
||||
- name: "alerta"
|
||||
webhook_configs:
|
||||
- url: "http://alerta.hamburg.ccc.de/webhooks/prometheus"
|
||||
send_resolved: true
|
||||
|
|
|
|||
|
|
@ -105,30 +105,9 @@ services:
|
|||
- 8011:8011
|
||||
restart: unless-stopped
|
||||
|
||||
alerta-mongodb:
|
||||
image: docker.io/mongodb/mongodb-community-server:8.2-ubi9-slim
|
||||
container_name: alerta-mongodb
|
||||
volumes:
|
||||
- alerta_mongodb_data:/data/db
|
||||
ports:
|
||||
- 27017:27017
|
||||
restart: unless-stopped
|
||||
|
||||
alerta-web:
|
||||
image: docker.io/alerta/alerta-web:9.1.0
|
||||
container_name: alerta-web
|
||||
volumes:
|
||||
- ./configs/alertad.conf:/app/alertad.conf:ro
|
||||
environment:
|
||||
- DATABASE_URL=mongodb://alerta-mongodb:27017/alerta
|
||||
ports:
|
||||
- 8012:8080
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
graf_data: {}
|
||||
prom_data: {}
|
||||
alertmanager_data: {}
|
||||
loki_data: {}
|
||||
mimir_data: {}
|
||||
alerta_mongodb_data: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue