Skip to main content
A resource lives under .towbar/resources/*.resource.yml. Use a managed type for a supported database or cache, or type: image for another service that runs from an existing OCI image. The file is Git-reviewed; saved secret values remain in Towbar.
.towbar/resources/cache.resource.yml
Register the server, save each declared secret value under Resource → Settings → Secrets, and sync the mapped branch before deploying. Review the Redis guide for its required credentials and engine behavior.

Field map

The resource JSON Schema describes exact shapes and constraints. Repository sync validates the merged environment and cross-workload conflicts, while deployment checks runtime readiness and required secret values. Objects merge recursively across common and environment settings; arrays replace. Identity, type, and secret declarations stay at entity level. A successful sync can change a resource’s desired configuration without replacing its running container until a deployment occurs.
Last modified on September 26, 2026