Every key in micromux.yaml. The machine-readable source of truth is micromux.schema.json; reference it from your config for editor completion and validation:
Session name surfaced to agents via the control plane.
strict
bool
false
Treat config warnings as errors.
git
object
—
metadata (bool, default true) controls Git branch and GitHub PR fetching for session listings. Overrides the user config; changes require a session restart.
Hostnames{host,path,strip_prefix,port} served by the shared proxy, optionally split by path prefix. Not supported on Windows.
proxy
object
—
The proxyport the session’s routes are served on (default 80), and an optional fallback_port for when that port cannot be bound. Sessions with different ports share one proxy.
env_file
string / object / array
—
Session-wide.env file(s), loaded beneath every service’s own env_file and environment and read from disk for every micromuxenv and micromuxexec without --service. Same entries as env_file[].
For a job: on-start (default) or manual, which runs it only when restarted.
disabled
bool
Leave the service disabled when the session starts.
working_dir
string
Working directory, relative to the config; defaults to the config’s directory. Aliases: cwd,directory. May reference ${VAR} from micromux’s own environment only.
environment
map
Inline environment variables. Values may reference ${VAR}.
env_file
string / object / array
.env file(s) to load, earlier first. Long form is {path:…,optional:…}; see env_file[].
depends_on
array
Dependencies; each a service id or {name,condition}.
Time between graceful termination and force-kill. Defaults to 10s; must be greater than zero and no longer than 5m.
stop_signal
string
Signal delivered for the graceful stop request. One of SIGTERM (default), SIGINT,SIGHUP,SIGQUIT,SIGUSR1,SIGUSR2; the SIG prefix is optional and matching is case-insensitive. Delivered to the service’s process group and — best-effort, via a process-table sweep that cannot guarantee hard containment — to descendants that escaped it, so a non-default choice reaches child processes too. Ignored on Windows.
A shared resource the service needs; only the session holding it runs the service. A lowercase hostname label, such as desktop-app. Needs a config loaded from a file and process containment, so it is refused on Windows.
Required. Shell-like string or argv array, interpolated like command. Runs in the service’s environment and working directory.
timeout
duration
How long the cleanup may run before it gets the service’s stop_signal, and SIGKILL 5 seconds later. Defaults to 60s; must be greater than zero and no longer than 1h.
Full disk-backed runs kept, including the current run. Aliases: runs,history.
memory.max_lines
integer / unbounded
—
In-memory tail line bound.
memory.max_bytes
integer / unbounded
—
In-memory tail byte bound.
max_lines,max_bytes
—
—
Shorthand for the memory.* fields.
level
string
all
Initial TUI level threshold for structured JSON logs: all,trace (same as all),debug,info,warn,error, or fatal. Lines without a structured level always show.
timestamps
bool
true
Lead structured JSON log lines with their local time in the TUI; toggle per service with T.
filter_fields
bool
true
Leave out the fields that fields hides in the TUI; toggle per service with F.
fields
map of field name to hide / show
{}
How the TUI displays structured JSON fields. A service’s map merges into the inherited one key by key.
Render structured JSON logs as compact colored lines in the TUI.
mouse
bool or mapping
from the user config, else true
What the TUI’s mouse may do: true or false for everything, or a mapping of select,navigate and scroll, each left out taken from the user config, else on. See Mouse parts. Overrides the user config; --mouse / MICROMUX_MOUSE override both. See Mouse.
copy_on_select
bool
from the user config, else false
Copy a mouse selection to the clipboard as soon as the drag ends, instead of on y or Enter. Overrides the user config; --copy-on-select / MICROMUX_COPY_ON_SELECT override both.