blob: 8c9d7aa4a90bef88f029bc584564d73ca53d6c36 [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 mcp_docker_registry: 'docker-prod-local.artifactory.mirantis.com'
6 docker_image_alerta: ${_param:mcp_docker_registry}/mirantis/external/alerta-web:latest
Dmitry Kalashnik554db632018-05-21 16:19:30 +04007 alerta_mongodb_uri: "mongodb://${_param:cluster_node01_address}:27017,${_param:cluster_node02_address}:27017,${_param:cluster_node03_address}:27017/alerta?replicaSet=stacklight"
8 alerta_admin_username: "admin@alerta.io"
9 docker:
10 client:
11 stack:
12 monitoring:
13 service:
14 alerta:
15 networks:
16 - monitoring
17 deploy:
18 labels:
19 com.mirantis.monitoring: "alerta"
20 restart_policy:
21 condition: any
22 labels:
23 com.mirantis.monitoring: "alerta"
24 image: ${_param:docker_image_alerta}
25 ports:
26 - 15017:8080
27 volumes:
28 - ${prometheus:alerta:config_dir}/alerta.conf:/web/config.js
29 environment:
30 ADMIN_USERS: ${_param:alerta_admin_username}
Dmitry Kalashnik5dd39702018-07-09 18:03:37 +040031 ADMIN_PASSWORD: ${_param:alerta_admin_password}
32 MONGO_URI: ${_param:alerta_mongodb_uri}
Ildar Svetlov59e09d52018-08-01 13:22:53 +040033 PLUGINS: ""