vion.toml
Server configuration is a flat TOML file (no nested [section]). Keys use env style (VION_DATABASE_URL = "...").
Precedence
environment → file → default
- If env is set → source
Env, field locked (locked: true) - Else the file key
- Else the
SettingDefdefault
At process start, file values are injected into the process env only when env is unset so legacy from_env readers keep working.
Paths
| Environment | Path |
|---|---|
| Linux / Docker | /etc/viewnova/vion.toml |
| Windows | %ProgramData%\ViewNova\vion.toml |
| Override | VION_CONFIG_FILE |
Writes are atomic (.bak backup). Header comment:
toml
# ViewNova server configuration
# Precedence: environment > this file > defaultsApply and restart
Admin PUT /api/v1/system/settings + POST /api/v1/system/apply. Most settings need Restart. With VION_RESTART_POLICY=supervised the process exits 75 and the supervisor restarts it.
Hot fields are limited (e.g. VION_COMMAND_REASON_REQUIRED, some OIDC/webhook/log fields).
Full key list: Environment variables.