Files
famdone/.env.example
T
2026-08-17 07:41:26 +01:00

19 lines
867 B
Bash

# Runtime env for the SvelteKit app.
#
# 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=
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 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