Files
phaseflow/.env.example
Petru Paler 3567fbafd7
Some checks failed
Deploy / deploy (push) Failing after 6m37s
Expose PocketBase URL to client-side for OIDC auth
POCKETBASE_URL was only available server-side, causing the login page
to fall back to localhost:8090 in the browser. Renamed to
NEXT_PUBLIC_POCKETBASE_URL so Next.js bundles it into client code.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 17:33:52 +00:00

22 lines
555 B
Plaintext

# ABOUTME: Example environment variables for PhaseFlow.
# ABOUTME: Copy to .env and fill in your values.
# App
APP_URL=https://phaseflow.yourdomain.com
NODE_ENV=development
# PocketBase
NEXT_PUBLIC_POCKETBASE_URL=http://localhost:8090
# Email (Resend)
RESEND_API_KEY=re_xxxxxxxxxxxx
EMAIL_FROM=phaseflow@yourdomain.com
# Encryption (for Garmin tokens)
# Generate with: openssl rand -hex 16
ENCRYPTION_KEY=your-32-character-encryption-key
# Cron secret (for protected endpoints)
# Generate with: openssl rand -hex 32
CRON_SECRET=your-cron-secret-here