migrate from hono

This commit is contained in:
JCEEE
2026-08-17 07:41:26 +01:00
parent e2b99c45b6
commit 5204e7bdbc
56 changed files with 1815 additions and 3357 deletions
+6 -6
View File
@@ -1,7 +1,7 @@
# Runtime env for the SvelteKit + Hono app.
# Runtime env for the SvelteKit app.
#
# The app's own loopback URLs are constants in code (PROXY_URL / PB_ENDPOINT);
# ports live in config.ts for the proxy. Only these are real env vars:
# The app's own loopback URL (PB_ENDPOINT) is computed in code; only these are
# real env vars:
# PB superuser (server-side only). Defaults in code: debug@famchamp.dev / debug123.
PB_EMAIL=
@@ -9,11 +9,11 @@ PB_PASSWORD=
# Server-only secret used to derive a child member's PB password from
# (famSlug + username). Never expose client-side. OTP is the access gate.
MEMBER_SECRET=
# Public: the dev machine's IP where PB + the dev proxy run. Change this when
# your remote IP changes — the browser (pocketbase.ts) and pb-admin read it.
# Public: the dev machine's IP where PB runs. Change this when your remote IP
# changes — the browser (pocketbase.ts) and server-side reads use it.
# Prod ignores this (uses /pb via nginx). Default: 192.168.1.225.
SERVER_IP=192.168.1.225
# docker-compose (staging) — host-side deploy config, never baked into the image.
PORT=3001 # public port to publish (nginx container listens on 3001)
PB_DATA=./pb_data # where to persist PocketBase data on the host
PB_DATA=./pb_data # where to persist PocketBase data on the host