donmai docs
Configuration

donmai is configured via ~/.donmai/config.toml (TOML format). Run donmai init to create this file with defaults.

[provider]

Settings for the execution provider used when dispatching steps.

KeyTypeDefaultDescription
defaultstring"local"Default provider for step execution. Supported values: local.

[runtime]

Runtime behavior settings.

KeyTypeDefaultDescription
default_providerstring"local"Provider to use when a workflow does not specify one explicitly.
max_parallel_stepsint4Maximum number of steps that can run in parallel within a single workflow.
step_timeout_secondsint300Per-step timeout in seconds. Steps that exceed this limit are cancelled and marked failed.

[daemon]

Settings for the donmai background daemon.

KeyTypeDefaultDescription
log_levelstring"info"Daemon log level. One of debug, info, warn, error.
socket_pathstring~/.donmai/state/daemon.sockUnix socket path the daemon listens on.
pid_filestring~/.donmai/state/daemon.pidPID file written on daemon start.

[logging]

KeyTypeDefaultDescription
dirstring~/.donmai/logs/Directory for daemon and workflow log files.
max_size_mbint100Maximum size in MB for a single log file before rotation.
max_filesint5Number of rotated log files to retain.
formatstring"json"Log format. One of json, text.

The key list above covers the stable keys for v0.9. The full authoritative schema is in the source at github.com/RenseiAI/donmai/cmd/donmai/config.go. New keys added in patch releases will appear there before they appear in this doc.

See also: Environment variables

On this page