19 lines
581 B
YAML
19 lines
581 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:?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}
|