The first run downloads the pinned PocketBase (the cloud container's version) for this platform, checks its SHA-256 and extracts it in-process into backend/bin (gitignored). It serves .pb/dev (gitignored) with the migrations in git and hooks off, as in the cloud. DX_PB_URL proxies /api/pb to a shared PocketBase instead; DX_PB_PORT moves the local one, and a port already in use is reported once instead of crash-looping.
16 lines
798 B
Text
16 lines
798 B
Text
# Mapbox token used in dev. Production hosts pass the token via profile-config.tk
|
|
# on the host page; never bake into the IIFE bundle.
|
|
VITE_MAPBOX_TOKEN=pk.your_dev_token_here
|
|
VITE_API_BASE_URL=https://pray.doxa.life
|
|
|
|
# Follow a shared branch while `bun run dev` runs (internal/dev-sync-plugin.mjs): fetch every N seconds and
|
|
# fast-forward when this checkout is on that branch with no local edits; otherwise only report it at
|
|
# /api/dev-sync. Leave DX_SYNC_REMOTE unset to turn it off.
|
|
# DX_SYNC_REMOTE=origin
|
|
# DX_SYNC_BRANCH=main
|
|
# DX_SYNC_INTERVAL=15
|
|
|
|
# PocketBase for plugins (internal/backend-dev-plugin.mjs): `bun run dev` downloads the pinned binary once
|
|
# and serves it at /api/pb, data in .pb/dev. DX_PB_URL uses a shared PocketBase instead of a local one.
|
|
# DX_PB_PORT=8090
|
|
# DX_PB_URL=
|