Towbar manifests
Configure
- Prepare the example server, connect the repository, and map
productionto the branch containing these manifests. Replace the example server IP and domain. Commit the manifests, then sync the repository and inspect the resolved configuration. - 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.
- 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.
- 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.
- Deploy the Service, then perform the checks below before enabling auto-deploy.
- After deployment, transfer a test photo to the server and use
docker cpto place it under/photoprism/originalsin 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.