Skip to main content
Upstream source: Current installation guide. LocalAI’s CPU image needs persistent locations for models, backend files, configuration, and application data. Keep its API private until you configure authentication and choose a model that fits the server’s hardware.

Towbar manifest

.towbar/services/localai.service.yml

Configure

  1. Prepare the example server, connect the repository, and map production to the branch containing these manifests. Replace the example server IP. Commit the manifests, then sync the repository and inspect the resolved configuration.
  2. Keep the Service’s named volumes attached across deployments. Towbar’s Datastore backup policy does not back up Service volumes, so include them in your own recovery plan.
  3. This manifest has no public domain. Use a trusted connection to the server for the first check. Add a public route only after configuring the product’s authentication or an access gateway.
  4. Deploy the Service, then perform the checks below before enabling auto-deploy.

Verify

Access the private UI from a trusted connection, install a small compatible model, and query /v1/models. Verify the model remains installed after redeployment. For field constraints, see Service manifest.
Last modified on September 27, 2026