doxa-maps/backend/pocketbase
Doxa Maps 18a9e6bc7d
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Update from source 9e59157b
2026-09-27 21:51:58 +00:00
..
pb_migrations Update from source 9e59157b 2026-09-27 21:51:58 +00:00
README.md Update from source 9e59157b 2026-09-27 21:51:58 +00:00

PocketBase — the backend for plugins that need one

The cloud container (deployment/cloud) runs two PocketBase instances: dev (behind the team sign-in, for building) and prod (its /api/ public, for published plugins). Both apply the migrations in pb_migrations/ on start, so the schema lives in git and publishing never copies data from dev to prod.

A plugin reads its backend address at runtime (profile-config apiBase, or window.MAP_API_BASE set by the published build's runtime-config.js), so moving the backend never needs a rebuild.

v1 limits: collection rules are the only access control (lock collections by default); no per-plugin isolation between plugin authors yet.