towbar compose and towbar exec when troubleshooting requires a Docker Compose operation that Towbar does not wrap directly.
towbar compose
Run a Docker Compose command against the active Towbar release with its project name, environment file, immutable service images, and source commit already supplied.
Syntax
- List all containers
- Render configuration
- Stop without deleting data
COMMAND.
Use the higher-level alternatives when possible:
towbar exec
Run one command in a running Towbar service container.
Syntax
Check PostgreSQL readiness
Inspect the API process environment keys
towbar exec does not start a stopped service and does not select a replica.
The service must already be running. Avoid commands that print secret values
or mutate the database outside a documented recovery procedure.Service names
The Compose project defines these service identifiers:gateway; public HTTPS installations run gateway-public. migrate, temporal-schema, and temporal-namespace are one-time jobs and normally are not available for towbar exec after startup.
Recovery boundaries
towbar compose down --volumes permanently deletes the control-plane PostgreSQL volume, including Towbar state and Temporal history. It does not delete application or resource volumes on deployment servers. Follow the uninstall guide and verify a database backup plus the matching TOWBAR_CREDENTIALS_KEY before using it.
Container changes made through towbar exec are ephemeral and disappear when the service is recreated. Put lasting configuration in /etc/towbar/towbar.env, validate it, and apply it with towbar restart.