blob: 0f82821af92624c12643c0c4cbf7aa18a3c0cf86 [file] [log] [blame]
Dmitry Kalashnik554db632018-05-21 16:19:30 +04001classes:
2- system.prometheus.alerta
3parameters:
4 _param:
azvyagintsev16ca7ce2018-08-21 17:20:33 +03005 docker_image_alerta: ${_param:mcp_docker_registry}/mirantis/external/alerta-web:latest
Dmitry Kalashnik554db632018-05-21 16:19:30 +04006 alerta_mongodb_uri: "mongodb://${_param:cluster_node01_address}:27017,${_param:cluster_node02_address}:27017,${_param:cluster_node03_address}:27017/alerta?replicaSet=stacklight"
7 alerta_admin_username: "admin@alerta.io"
8 docker:
9 client:
10 stack:
11 monitoring:
12 service:
13 alerta:
14 networks:
15 - monitoring
16 deploy:
17 labels:
18 com.mirantis.monitoring: "alerta"
19 restart_policy:
20 condition: any
21 labels:
22 com.mirantis.monitoring: "alerta"
23 image: ${_param:docker_image_alerta}
24 ports:
25 - 15017:8080
26 volumes:
27 - ${prometheus:alerta:config_dir}/alerta.conf:/web/config.js
28 environment:
29 ADMIN_USERS: ${_param:alerta_admin_username}
Dmitry Kalashnik5dd39702018-07-09 18:03:37 +040030 ADMIN_PASSWORD: ${_param:alerta_admin_password}
31 MONGO_URI: ${_param:alerta_mongodb_uri}
Ildar Svetlov59e09d52018-08-01 13:22:53 +040032 PLUGINS: ""