Skip to main content
A datastore lives under .towbar/datastores/*.datastore.yml. Set type to one of the supported database or cache engines. Use a Service for a general OCI image. The file is Git-reviewed; saved secret values remain in Towbar.
.towbar/datastores/cache.datastore.yml
Register the server, save each declared secret value under Datastore → Settings → Secrets, and sync the mapped branch before deploying. Review the Redis guide for its required credentials and engine behavior.

Field map

The datastore 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 datastore’s desired configuration without replacing its running container until a deployment occurs.
Last modified on September 27, 2026