Towbar manifest
.towbar/services/prometheus.compose.yml
Compose project
Configure
- Prepare the example server, connect the repository, and map
productionto the branch containing these files. Replace the example server IP. - Commit every file shown below under
deploy/prometheus/. The Towbar manifest points to the Compose file; it does not create it for you. - Sync the repository and inspect the resolved Compose project. Save the runtime values below if this example declares any.
- Keep this service private until you put authentication in front of its UI and API.
- Edit
prometheus.ymlto add only targets reachable from this Compose network. The sample self-scrape cannot discover Towbar Services automatically. - Deploy it manually and run the verification below before enabling auto-deploy.
Verify
CheckStatus → Targets from a trusted connection or query up{job="prometheus"} from the server. Back up the metrics volume if the historical samples matter.
For field constraints, see Compose guide.