All checks were successful
Deploy / deploy (push) Successful in 2m29s
Server-side code (health checks, API routes) needs to use internal sidecar URL (POCKETBASE_URL at runtime), while client-side needs public URL (NEXT_PUBLIC_POCKETBASE_URL baked at build time). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
25 lines
753 B
Plaintext
25 lines
753 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
|
|
# POCKETBASE_URL is for server-side (API routes, health checks) - set at runtime
|
|
# NEXT_PUBLIC_POCKETBASE_URL is for client-side (browser) - baked at build time
|
|
POCKETBASE_URL=http://localhost:8090
|
|
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
|