diff --git a/group_vars/docker/services.yml b/group_vars/docker/services.yml index 361bd27..dcf02cc 100644 --- a/group_vars/docker/services.yml +++ b/group_vars/docker/services.yml @@ -29,5 +29,6 @@ starpunk_admin_sub: "5754855f-0a30-4755-9609-7294209e40f4" # Gokapi super admin: must match the Pocket ID account email gokapi_admin_email: "phil@{{ primary_domain }}" -# Paperless-ngx image tag. v3 could only be reached from 2.20.15; bump deliberately. -paperless_version: "3.4.1" +# Paperless-ngx image tag. "latest" only gets stable releases (beta/dev have +# their own tags); dockcheck updates it daily. +paperless_version: "latest" diff --git a/roles/docker/README.md b/roles/docker/README.md index 81fa196..9cf5ef8 100644 --- a/roles/docker/README.md +++ b/roles/docker/README.md @@ -45,10 +45,10 @@ Tags: each category file has a category tag, each service its own tag. ### Productivity (`productivity`) | Tag | Service | Notes | |---|---|---| -| `paperlessngx` | Paperless-ngx | Version pinned by `paperless_version` in `group_vars/docker/services.yml`; read the release notes before bumping. Redis, Gotenberg, Tika (pinned to the versions Paperless ships with). Pocket ID through django-allauth (`paperlessngx.env.j2`). Rejects duplicate documents. Daily S3 backup of the data and media volumes. | +| `paperlessngx` | Paperless-ngx | Image tag from `paperless_version` in `group_vars/docker/services.yml` (`latest`, auto-updated). Redis 8, Gotenberg `:8` (9 breaks the API), Tika pinned to 3.x by hand (4 is incompatible). Pocket ID through django-allauth (`paperlessngx.env.j2`). Rejects duplicate documents. Daily S3 backup of the data and media volumes. | | `baikal` | Baikal | CalDAV/CardDAV. Caddy redirects the `.well-known` paths. | | `syncthing` | Syncthing | Ports on the Tailscale IP only. | -| `heyform` | HeyForm v3 | Pinned version. 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`. | +| `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. | | `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/heyform-compose.yml.j2 b/roles/docker/templates/heyform-compose.yml.j2 index fe94bc6..9f67ec0 100644 --- a/roles/docker/templates/heyform-compose.yml.j2 +++ b/roles/docker/templates/heyform-compose.yml.j2 @@ -1,9 +1,10 @@ services: heyform: - # Pinned: v3 changed the port, paths and Redis requirements. Read the - # release notes before bumping. - image: heyform/community-edition:v3.0.5 + # :latest is only moved by v* release tags (no RCs) + image: heyform/community-edition:latest restart: always + labels: + mag37.dockcheck.update: true volumes: # Persist uploaded images - assets:/app/packages/server/static/upload diff --git a/roles/docker/templates/paperlessngx-compose.yml.j2 b/roles/docker/templates/paperlessngx-compose.yml.j2 index 52957f9..ee1b6bb 100644 --- a/roles/docker/templates/paperlessngx-compose.yml.j2 +++ b/roles/docker/templates/paperlessngx-compose.yml.j2 @@ -1,16 +1,18 @@ services: broker: - image: docker.io/library/redis:7 + # Redis 8 reads Redis 7 data files as-is + image: docker.io/library/redis:8-alpine restart: unless-stopped + labels: + mag37.dockcheck.update: true volumes: - redisdata:/data webserver: - # Pinned: major versions need care (v3 could only be reached from - # 2.20.15). Bump deliberately after reading the release notes. image: ghcr.io/paperless-ngx/paperless-ngx:{{ paperless_version }} restart: unless-stopped labels: + mag37.dockcheck.update: true # Stop during backup so the SQLite database in the data volume is consistent docker-volume-backup.stop-during-backup: true depends_on: @@ -37,8 +39,11 @@ services: PAPERLESS_CONSUMER_DELETE_DUPLICATES: "true" gotenberg: - image: docker.io/gotenberg/gotenberg:8.39.0 + # :8 follows 8.x; 9 changed the API Paperless calls + image: docker.io/gotenberg/gotenberg:8 restart: unless-stopped + labels: + mag37.dockcheck.update: true # The gotenberg chromium route is used to convert .eml files. We do not # want to allow external content like tracking pixels or even javascript. @@ -48,8 +53,11 @@ services: - "--chromium-allow-list=file:///tmp/.*" tika: - image: docker.io/apache/tika:3.3.1.0 # the version Paperless ships with + # No floating 3.x tag, and Tika 4 doesn't work with Paperless 3: bump by hand + image: docker.io/apache/tika:3.3.3.0 restart: unless-stopped + labels: + mag37.dockcheck.update: true backup: image: offen/docker-volume-backup:v2