From c54da8728e46594c99ff41ec905d501227bedfe3 Mon Sep 17 00:00:00 2001 From: agent Date: Tue, 6 Oct 2026 11:21:36 +0000 Subject: [PATCH] Pin PocketBase server to 0.23.12 `spectado/pocketbase:latest` meant any rebuild could silently jump versions, while pb_schema.json and the JS migrations target 0.23's format and API. 0.23.12 is the image `latest` currently resolves to (same image id), so this changes nothing at runtime. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv --- AGENTS.md | 2 +- docker-compose.yml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index d9a3db9..8c39908 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -3,7 +3,7 @@ ## Stack - **SvelteKit 2** (SSR, Svelte 5 runes mode) — all `.svelte` files use `$state`, `$derived`, `$props()` etc. -- **PocketBase** — REST API via the `pocketbase` SDK (v0.26). Auth, DB, and image storage. +- **PocketBase** — server pinned to **0.23.12** (`docker-compose.yml`), REST API via the `pocketbase` SDK (v0.26). Auth, DB, and image storage. Bump the server version deliberately (changelog, backup, test migrations). - **Tailwind CSS v4** + **DaisyUI 5** — utility-first CSS with DaisyUI components for admin; custom theme for the public site. - **Docker Compose** — four services: `app-admin`, `app-public`, `pocketbase`, and `caddy` (reverse proxy). diff --git a/docker-compose.yml b/docker-compose.yml index 05bebff..5987481 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,9 @@ services: pocketbase: - image: docker.io/spectado/pocketbase:latest + # Pinned: schema (pb_schema.json) and migrations target this version's + # format/JS API. Upgrade deliberately — read the PocketBase changelog, + # back up pb_data, then bump the tag and test migrations locally. + image: docker.io/spectado/pocketbase:0.23.12 container_name: massage-pocketbase restart: unless-stopped # Internal only — accessed via the caddy reverse proxy