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/deploy.d/config.yml
2020-04-16 12:51:50 +02:00

59 lines
1.4 KiB
YAML

---
vars:
alerta_username: "alerta"
domain: "alerta.autonomic.zone"
keycloak_realm: "autonomic"
keycloak_role: "worker-owner"
keycloak_url: "https://id.autonomic.zone"
mail_from: "alerta-noreply@autonomic.zone"
mail_to: "kaboom@autonomic.zone"
port: "8080"
rocket_chat_channel: "kaboom"
rocket_chat_icon_emoji: ":rocket:"
smtp_host: "mail.gandi.net"
smtp_port: "587"
smtp_starttls: "True"
smtp_username: "alerta-noreply"
dirs:
- path: /var/lib/alerta/
db:
- type: "mongo"
passwd: "{{ vault.db_passwd }}"
root_passwd: "{{ vault.root_db_passwd }}"
files:
- src: email.tmpl
dest: /var/lib/alerta/email.tmpl
owner: "{{ vars.docker_user_uid }}"
group: "{{ vars.docker_user_gid }}"
mode: "664"
templates:
- src: config.json
dest: /var/lib/alerta/config.json
owner: "{{ vars.docker_user_uid }}"
group: "{{ vars.docker_user_gid }}"
mode: "664"
- src: alerta.conf
dest: /var/lib/alerta/alerta.conf
owner: "root"
group: "root"
mode: "664"
- src: alertad.conf
dest: /var/lib/alerta/alertad.conf
owner: "root"
group: "root"
mode: "664"
volumes:
- /var/lib/alerta/email.tmpl:/app/email.tmpl
- /var/lib/alerta/alerta.conf:/app/alerta.conf
- /var/lib/alerta/alertad.conf:/app/alertad.conf
- /var/lib/alerta/config.json:/web/config.json
env:
DOKKU_LETSENCRYPT_EMAIL: "helo@autonomic.zone"
SMTP_PASSWORD: "{{ vault.smtp_passwd }}"