Expand description
User-configurable settings for pitchfork.
Settings can be configured in multiple ways (in order of precedence):
- Environment variables (highest priority)
- Project-level
pitchfork.tomlorpitchfork.local.toml(in[settings]section) - User-level
~/.config/pitchfork/config.toml(in[settings]section) - System-level
/etc/pitchfork/config.toml(in[settings]section) - Built-in defaults (lowest priority)
Example pitchfork.toml with settings:
[daemons.myapp]
run = "node server.js"
[settings.general]
autostop_delay = "5m"
log_level = "debug"
[settings.web]
auto_start = trueThis module is generated from settings.toml at build time.
Structs§
- Setting
Meta - Settings
- Settings
Api - Settings
ApiPartial - Settings
General - Settings
General Partial - Settings
Ipc - Settings
IpcPartial - Settings
Logs - Settings
Logs Partial - Settings
Partial - Settings
Proxy - Settings
Proxy Partial - Settings
Supervisor - Settings
Supervisor Partial - Settings
Tui - Settings
TuiPartial - Settings
Web - Settings
WebPartial
Statics§
Functions§
- api_
is_ empty - general_
is_ empty - ipc_
is_ empty - logs_
is_ empty - proxy_
is_ empty - reload_
settings - Reload settings from config files.
- settings
- Get the global settings instance
- supervisor_
is_ empty - tui_
is_ empty - web_
is_ empty