mirror of
https://github.com/dagu-org/dagu.git
synced 2025-12-28 06:34:22 +00:00
40 lines
1002 B
ReStructuredText
40 lines
1002 B
ReStructuredText
.. _base configuration:
|
|
|
|
Base Configuration for all DAGs
|
|
=====================================
|
|
|
|
Creating a base configuration (default path: ``~/.config/dagu/base.yaml``) is a convenient way to organize shared settings among all DAGs. The path to the base configuration file can be configured. See :ref:`Configuration Options` for more details.
|
|
|
|
Example:
|
|
|
|
.. code-block:: yaml
|
|
|
|
# directory path to save logs from standard output
|
|
logDir: /path/to/stdout-logs/
|
|
|
|
# history retention days (default: 30)
|
|
histRetentionDays: 3
|
|
|
|
# Email notification settings
|
|
mailOn:
|
|
failure: true
|
|
success: true
|
|
|
|
# SMTP server settings
|
|
smtp:
|
|
host: "smtp.foo.bar"
|
|
port: "587"
|
|
username: "<username>"
|
|
password: "<password>"
|
|
|
|
# Error mail configuration
|
|
errorMail:
|
|
from: "foo@bar.com"
|
|
to: "foo@bar.com"
|
|
prefix: "[Error]"
|
|
|
|
# Info mail configuration
|
|
infoMail:
|
|
from: "foo@bar.com"
|
|
to: "foo@bar.com"
|
|
prefix: "[Info]" |