towbar config path
Print the active environment-file path. The command accepts no arguments, does not require an installed release, and does not read or reveal the file.
Print the configuration path
Default output
Open the environment file
towbar config validate
Validate the current configuration without replacing running services.
- required installation and database values;
- the complete Docker Compose model;
- API and worker environment parsing;
- runtime integration configuration;
- notification and log-forwarding JSON;
- the selected local or public gateway service; and
- Caddy configuration for the current domain and access mode.
Towbar: Configuration is valid and exits with status 0. A failure prints the specific parser or Compose error and exits nonzero. Running services remain unchanged.
towbar restart
Apply a valid environment change to the current release.
sudo towbar doctor. If containers fail after replacement begins, the command returns nonzero and also directs the operator to diagnostics.
1
Back up the current file
Preserve
/etc/towbar/towbar.env in restricted storage before changing
production configuration. The file contains credentials and encryption keys.2
Edit the environment
bash sudo nano "$(towbar config path)" 3
Validate without restarting
bash sudo towbar config validate 4
Apply the validated change
bash sudo towbar restart 5
Confirm health
bash sudo towbar doctor towbar upgrade when changing versions.