Settings
Settings control pitchfork itself: logging, shell execution, the supervisor, dashboards, and the reverse proxy. Daemon-specific behavior belongs under [daemons.<name>]; see the configuration reference.
Browse every setting, default, and environment variable →
Inspect the effective value
pitchfork settings
pitchfork settings list --group supervisor
pitchfork settings get general.autostop_delay
pitchfork settings explain general.autostop_delayget returns the value. explain shows which environment variable or file won, which is useful when a local override seems to be ignored.
Change a setting
pitchfork settings set general.autostop_delay 30s --project
pitchfork settings set web.auto_start true --global| Target | File |
|---|---|
--project (default) | pitchfork.toml |
--local | pitchfork.local.toml for personal project overrides |
--global | ~/.config/pitchfork/config.toml for user-wide defaults |
Or edit the file directly:
[settings.general]
autostop_delay = "30s"
[settings.logs]
time_retention = "7d"
[settings.supervisor]
file_watch_debounce = "1s"
[settings.web]
auto_start = true
bind_port = 3120Precedence
From lowest to highest priority:
- Built-in defaults.
/etc/pitchfork/config.toml.- User config (
~/.config/pitchfork/config.toml). - Project configs, from filesystem root down to the current directory.
- Environment variables.
Within each directory, the four project files follow the configuration hierarchy. Each file stores settings in [settings] sections.
PITCHFORK_AUTOSTOP_DELAY=5m pitchfork settings explain general.autostop_delayThis environment variable wins over the file configuration for this invocation.
When changes take effect
Client commands resolve settings from their environment and working directory. Supervisor-owned services, including the web UI and proxy, read settings when the supervisor starts. Restart it to apply changes:
pitchfork supervisor start --forceUse the user config for supervisor settings you want to apply consistently across projects. A setting exported in a later terminal does not change the environment of an already running supervisor.
See environment variables for process metadata and invocation controls, and the generated settings reference for the full list of supported keys.
