2023-12-24 14:36:54 -08:00
|
|
|
---
|
|
|
|
### Directory path to save logs from standard output
|
|
|
|
logDir: /var/log/dagu
|
|
|
|
|
|
|
|
### History retention days (default: 30)
|
|
|
|
histRetentionDays: 30
|
|
|
|
|
|
|
|
### Email notification settings
|
|
|
|
mailOn:
|
|
|
|
failure: true
|
|
|
|
success: false
|
|
|
|
|
|
|
|
### SMTP server settings
|
|
|
|
smtp:
|
2024-01-02 17:40:12 -08:00
|
|
|
host: {{ .host.smtp.host }}
|
|
|
|
port: {{ .host.smtp.port }}
|
|
|
|
username: {{ .host.smtp.user }}
|
2023-12-24 14:36:54 -08:00
|
|
|
password: "{{ if (stat (joinPath .chezmoi.sourceDir ".chezmoitemplates" "secrets" "SENDGRID_API_KEY")) }}{{ includeTemplate "secrets/SENDGRID_API_KEY" | decrypt | trim }}{{ else }}{{ env "SENDGRID_API_KEY" }}{{ end }}"
|
|
|
|
|
|
|
|
### Error mail configuration
|
|
|
|
errorMail:
|
2024-01-02 17:40:12 -08:00
|
|
|
from: "{{ .host.smtp.from }}"
|
2023-12-24 14:36:54 -08:00
|
|
|
to: "{{ .user.email }}"
|
|
|
|
prefix: "[Error]"
|
|
|
|
attachLogs: true
|
|
|
|
|
|
|
|
### Info mail configuration
|
|
|
|
infoMail:
|
2024-01-02 17:40:12 -08:00
|
|
|
from: "{{ .host.smtp.from }}"
|
2023-12-24 14:36:54 -08:00
|
|
|
to: "{{ .user.email }}"
|
|
|
|
prefix: "[Info]"
|
|
|
|
attachLogs: true
|