config/varne.yaml (or the path in CONFIG_PATH). It lists your stacks and their sources. You can edit it as text, or with the form in Settings.
The file
config/varne.yaml
The other fields depend on the type. Each source page lists its fields, and the reference lists all of them.
Edit in Settings
Settings has two tabs.- YAML is a text editor for the file. Save checks the file and writes it only if it is valid. Reset brings back the saved text.
- Form is the same configuration as fields. Add stacks and sources, pick a source type from the menu, and fill in the fields. Varne suggests an id from the name for new items.
- Saving from the form rewrites the whole file, and comments in it are lost. If you keep notes in the YAML, edit it in the YAML tab.
- The id of a saved stack or source is read only. To rename it, edit the YAML.
- Secrets have a switch between Value and Environment variable. Exactly one of them goes into the file.
- Fields you leave empty are not written, so Varne uses its defaults.
- A source with an unknown
typeis shown as a notice with a delete button. Fix it in the YAML.
Keep secrets out of the file
Every secret accepts two forms. Use exactly one of them. The Docker source takes the Beszel password aspassword or password_env:
password_env, Varne reads the variable when it pulls. Set it where Varne runs:
compose.yaml
Environment variable 'BESZEL_PASSWORD' is not set. Sources that use an API key take it as api_token or api_token_env in the same way.
When changes take effect
- Save in Settings writes the file and loads it straight away.
- Editing the file outside Varne works too. Varne reads the file again each time you open the Dashboard.
- Changes to the environment variables of the container need a restart of the container.