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.
| Key | Type | Default | Description |
|---|---|---|---|
default | string | "local" | Default provider for step execution. Supported values: local. |
[runtime]
Runtime behavior settings.
| Key | Type | Default | Description |
|---|---|---|---|
default_provider | string | "local" | Provider to use when a workflow does not specify one explicitly. |
max_parallel_steps | int | 4 | Maximum number of steps that can run in parallel within a single workflow. |
step_timeout_seconds | int | 300 | Per-step timeout in seconds. Steps that exceed this limit are cancelled and marked failed. |
[daemon]
Settings for the donmai background daemon.
| Key | Type | Default | Description |
|---|---|---|---|
log_level | string | "info" | Daemon log level. One of debug, info, warn, error. |
socket_path | string | ~/.donmai/state/daemon.sock | Unix socket path the daemon listens on. |
pid_file | string | ~/.donmai/state/daemon.pid | PID file written on daemon start. |
[logging]
| Key | Type | Default | Description |
|---|---|---|---|
dir | string | ~/.donmai/logs/ | Directory for daemon and workflow log files. |
max_size_mb | int | 100 | Maximum size in MB for a single log file before rotation. |
max_files | int | 5 | Number of rotated log files to retain. |
format | string | "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