blob: acd4d709cec1a313f64c82766a3202e256565445 [file] [log] [blame]
Dmitry Kalashnik554db632018-05-21 16:19:30 +04001classes:
2- system.prometheus.alerta
3parameters:
4 _param:
Dmitry Kalashnik554db632018-05-21 16:19:30 +04005 alerta_mongodb_uri: "mongodb://${_param:cluster_node01_address}:27017,${_param:cluster_node02_address}:27017,${_param:cluster_node03_address}:27017/alerta?replicaSet=stacklight"
6 alerta_admin_username: "admin@alerta.io"
7 docker:
8 client:
9 stack:
10 monitoring:
11 service:
12 alerta:
13 networks:
14 - monitoring
15 deploy:
16 labels:
17 com.mirantis.monitoring: "alerta"
18 restart_policy:
19 condition: any
20 labels:
21 com.mirantis.monitoring: "alerta"
22 image: ${_param:docker_image_alerta}
23 ports:
24 - 15017:8080
25 volumes:
26 - ${prometheus:alerta:config_dir}/alerta.conf:/web/config.js
Ksawery DziekoƄski948944b2020-04-06 12:52:22 +020027 - ${prometheus:alerta:config_dir}/alertad.conf:/app/alertad.conf
Dmitry Kalashnik554db632018-05-21 16:19:30 +040028 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: ""