prometheus-blackbox/docker-compose.config.yml

19 lines
581 B
YAML
Raw Normal View History

2020-01-09 04:29:13 +00:00
version: "3"
services:
gomplate:
image: hairyhenderson/gomplate
container_name: gomplate
command: "--input-dir /templates --output-dir /config"
volumes:
- ./templates:/templates
- ./config:/config
environment:
- TARGETS=${TARGETS:?err}
- ALERT_EMAIL_TO=${ALERT_EMAIL_TO:?err}
- ALERT_EMAIL_FROM=${ALERT_EMAIL_FROM:?err}
- ALERT_SMTP_HOST=${ALERT_SMTP_HOST:?err}
- ALERT_SMTP_USER=${ALERT_SMTP_USER:?err}
- ALERT_SMTP_PASSWORD=${ALERT_SMTP_PASSWORD:?err}
- ALERT_SLACK_WEBHOOK=${ALERT_SLACK_WEBHOOK:?err}