prometheus-display/docker-compose.config.yml

20 lines
589 B
YAML

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}
- SCRAPE_INTERVAL=${SCRAPE_INTERVAL}
- ALERT_EMAIL_TO=${ALERT_EMAIL_TO}
- ALERT_EMAIL_FROM=${ALERT_EMAIL_FROM}
- ALERT_SMTP_HOST=${ALERT_SMTP_HOST}
- ALERT_SMTP_USER=${ALERT_SMTP_USER}
- ALERT_SMTP_PASSWORD=${ALERT_SMTP_PASSWORD}
- ALERT_SLACK_WEBHOOK=${ALERT_SLACK_WEBHOOK}