From 4550100dd187f8721b145e3c0ff97a77c998db6d Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 9 Nov 2026 13:56:51 -0700 Subject: [PATCH] Dawarich: pin the image tag for the step-by-step 1.7.11 -> 1.22.0 upgrade First stop is 1.10.3 (drops the legacy lat/lon columns with the 1.10.2 lock fix). Next stops: 1.14.5 (security fix), 1.16.0, 1.17.0 (sidekiq merged into the app), 1.18.1, 1.22.0, then back to latest. Co-Authored-By: Claude Opus 5.5 --- group_vars/docker/services.yml | 5 +++++ roles/docker/README.md | 2 +- roles/docker/templates/dawarich-compose.yml.j2 | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/group_vars/docker/services.yml b/group_vars/docker/services.yml index dcf02cc..1f62a9c 100644 --- a/group_vars/docker/services.yml +++ b/group_vars/docker/services.yml @@ -32,3 +32,8 @@ gokapi_admin_email: "phil@{{ primary_domain }}" # Paperless-ngx image tag. "latest" only gets stable releases (beta/dev have # their own tags); dockcheck updates it daily. paperless_version: "latest" + +# Dawarich image tag. Pinned while stepping through the 1.7 -> 1.22 upgrade +# (stops: 1.10.3, 1.14.5, 1.16.0, 1.17.0 compose change, 1.18.1, 1.22.0). +# Go back to "latest" plus the dockcheck label once on 1.22.0. +dawarich_version: "1.10.3" diff --git a/roles/docker/README.md b/roles/docker/README.md index 9cf5ef8..5e79c9d 100644 --- a/roles/docker/README.md +++ b/roles/docker/README.md @@ -49,7 +49,7 @@ Tags: each category file has a category tag, each service its own tag. | `baikal` | Baikal | CalDAV/CardDAV. Caddy redirects the `.well-known` paths. | | `syncthing` | Syncthing | Ports on the Tailscale IP only. | | `heyform` | HeyForm v3 | `latest` (stable releases only), auto-updated. MongoDB 4.4 (Percona, as upstream) and Redis 8 (v3 needs it). Port 9157. Public sign-up is off; people join through workspace invitations. On `forms.nerder.land`. | -| `dawarich` | Dawarich | App, Sidekiq, PostGIS, Redis. Based on the upstream production compose file. | +| `dawarich` | Dawarich | App, Sidekiq, PostGIS, Redis. Based on the upstream production compose file. Image tag from `dawarich_version` (pinned during the 1.7 → 1.22 step-by-step upgrade). | | `obsidian-livesync` | CouchDB for Obsidian LiveSync | Port 5984 on the Tailscale IP only. Has a restart handler. | | `gokapi` | Gokapi | Pocket ID login. `config.json` is only written on a fresh install, because Gokapi rewrites it on upgrade. To change it, delete `/opt/stacks/gokapi/config/config.json` and redeploy. | diff --git a/roles/docker/templates/dawarich-compose.yml.j2 b/roles/docker/templates/dawarich-compose.yml.j2 index f2463a0..c69a059 100644 --- a/roles/docker/templates/dawarich-compose.yml.j2 +++ b/roles/docker/templates/dawarich-compose.yml.j2 @@ -30,7 +30,7 @@ services: timeout: 10s dawarich_app: - image: freikin/dawarich:latest + image: freikin/dawarich:{{ dawarich_version }} container_name: dawarich_app volumes: - dawarich_public:/var/app/public @@ -86,7 +86,7 @@ services: cpus: '0.50' memory: '2G' dawarich_sidekiq: - image: freikin/dawarich:latest + image: freikin/dawarich:{{ dawarich_version }} container_name: dawarich_sidekiq volumes: - dawarich_public:/var/app/public