PocketBase: switch image to elestio/pocketbase v0.23.12 #27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "session/change-pocketbase-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
spectado/pocketbasehas been removed from Docker Hub (pulling0.23.12now fails with "requested access to the resource is denied").elestio/pocketbasepublishes the same PocketBase version, v0.23.12, so the schema, migrations and hooks don't change.What differs in the image
pocketbase(uid 100)/pb_migrations,/pb_hooks/pb_data)Changes:
docker-compose.yml: new image, pinned by tag and digest;expose: 8090;POCKETBASE_INTERNAL_URL→:8090Caddyfile:reverse_proxy pocketbase:8090⚠️ Deploy step for existing installs
Files the old image wrote are owned by root, and the new non-root image won't start on them (
attempt to write a readonly database). Run this once, after a backup, before the first start:Fresh installs need nothing.
Tested (podman 5.7 / podman-compose 1.5)
pb_datavolume, then confirmed the readonly error without the chown and a clean start with itdb.→/_/, admin → login,/api/healthOK,/api/shop/slotshook responds, privacy cron runsNot tested: logging in to the admin or checking out via Stripe on the new image (same PocketBase binary version, so not expected to differ).
🤖 Generated with Claude Code
https://claude.ai/code/session_01HA82gX7xH4zwYTr5vE7mf8