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