23 lines
860 B
Bash
23 lines
860 B
Bash
# Copy to .env and fill in. Used by the root docker-compose.yml.
|
|
|
|
# --- PocketBase superuser (also used by the API Server to authenticate) ------
|
|
PB_ADMIN_EMAIL=admin@example.com
|
|
PB_ADMIN_PASSWORD=change-me-long-password
|
|
|
|
# --- API Server -------------------------------------------------------------
|
|
# Long random value used to sign auth tokens. Generate e.g.:
|
|
# openssl rand -hex 32
|
|
AUTH_SECRET=change-me-to-a-long-random-value
|
|
# Allowed CORS origin(s) for the web app (match WEB_PORT / your public URL).
|
|
CORS_ORIGINS=http://localhost:8081
|
|
AUTH_USERS_COLLECTION=users
|
|
|
|
# --- Host port mappings (optional; defaults shown) --------------------------
|
|
PB_PORT=8090
|
|
API_PORT=8080
|
|
WEB_PORT=8081
|
|
|
|
# --- Web App build -----------------------------------------------------------
|
|
# Leave empty so the browser uses same-origin /api (proxied by nginx).
|
|
VITE_API_BASE=
|