21 lines
857 B
Bash
21 lines
857 B
Bash
# Copy to .env and fill in. Used by the Docker AIO docker-compose.yml.
|
|
|
|
# --- Required (no defaults) --------------------------------------------------
|
|
# PocketBase superuser, also used by the API Server to authenticate.
|
|
PB_ADMIN_EMAIL=admin@example.com
|
|
PB_ADMIN_PASSWORD=change-me-long-password
|
|
# Signs auth tokens. Generate e.g.: openssl rand -hex 32
|
|
AUTH_SECRET=change-me-to-a-long-random-value
|
|
|
|
# --- Host port mappings (optional; defaults shown) --------------------------
|
|
WEB_PORT=80
|
|
PB_PORT=8090
|
|
# API Server + its embedded web panel (served at the API root, http://host:8080/).
|
|
API_PORT=8080
|
|
|
|
# --- Build args (optional) ---------------------------------------------------
|
|
# Leave empty so the browser uses same-origin /api (proxied by nginx).
|
|
VITE_API_BASE=
|
|
# Pin a PocketBase version, or leave empty to fetch the latest at build time.
|
|
PB_VERSION=
|