Skip to main content
Upstream source: Current installation guide. MariaDB stores the index; the Service volumes store photo originals and generated files. Back up the database and both volumes together.

Towbar manifests

Configure

  1. Prepare the example server, connect the repository, and map production to the branch containing these manifests. Replace the example server IP and domain. Commit the manifests, then sync the repository and inspect the resolved configuration.
  2. Save the initialization values in the table below for the mariadb Datastore under Datastore → Settings → Secrets. Deploy it first and wait for readiness. These values create the database and user only on an empty volume.
  3. Set the Service’s declared runtime values under Service → Settings → Secrets using the table below. Replace descriptions and placeholders with actual values; do not commit passwords or keys.
  4. 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.
  5. Deploy the Service, then perform the checks below before enabling auto-deploy.
  6. After deployment, transfer a test photo to the server and use docker cp to place it under /photoprism/originals in the running container. The named originals volume retains it across redeployments.

Datastore values

Save these in each Datastore’s Settings → Secrets before deploying it. Use the suggested names or choose your own, then use the same names and passwords in the Service connection values below.

Runtime values

Save these values on the Service after the repository sync. The manifest declares required keys, not their values.

Verify

Import a small album into /photoprism/originals, index it, and verify both originals and thumbnails survive redeployment. For field constraints, see Service manifest and Datastore manifest.
Last modified on September 27, 2026