blob: 5e99286445f7a9d80c9e94839295b393f7d2fd8e [file] [log] [blame]
classes:
- system.prometheus.alerta
parameters:
_param:
docker_image_alerta: docker-prod-local.artifactory.mirantis.com/mirantis/external/alerta-web:latest
alerta_mongodb_uri: "mongodb://${_param:cluster_node01_address}:27017,${_param:cluster_node02_address}:27017,${_param:cluster_node03_address}:27017/alerta?replicaSet=stacklight"
alerta_admin_username: "admin@alerta.io"
docker:
client:
stack:
monitoring:
service:
alerta:
networks:
- monitoring
deploy:
labels:
com.mirantis.monitoring: "alerta"
restart_policy:
condition: any
labels:
com.mirantis.monitoring: "alerta"
image: ${_param:docker_image_alerta}
ports:
- 15017:8080
volumes:
- ${prometheus:alerta:config_dir}/alerta.conf:/web/config.js
environment:
ADMIN_USERS: ${_param:alerta_admin_username}
ADMIN_PASSWORD: ${_param:alerta_admin_password}
MONGO_URI: ${_param:alerta_mongodb_uri}
PLUGINS: ""