Files

17 lines
777 B
Bash

# Runtime env for the SvelteKit + Hono 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:
# PB superuser (server-side only). Defaults in code: debug@famchamp.dev / debug123.
PB_EMAIL=
PB_PASSWORD=
# 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.
# 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