diff --git a/.env.example b/.env.example index e4d3c35..5d9b324 100644 --- a/.env.example +++ b/.env.example @@ -6,7 +6,7 @@ APP_URL=https://phaseflow.yourdomain.com NODE_ENV=development # PocketBase -POCKETBASE_URL=http://localhost:8090 +NEXT_PUBLIC_POCKETBASE_URL=http://localhost:8090 # Email (Resend) RESEND_API_KEY=re_xxxxxxxxxxxx diff --git a/AGENTS.md b/AGENTS.md index 8fe1e51..8a648d8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -18,7 +18,7 @@ Run these after implementing to get immediate feedback: ## Operational Notes -- Database: PocketBase at `POCKETBASE_URL` env var +- Database: PocketBase at `NEXT_PUBLIC_POCKETBASE_URL` env var - Garmin tokens encrypted with AES-256 using `ENCRYPTION_KEY` (32 chars) - Path aliases: `@/*` maps to `./src/*` - Pre-commit hooks: Biome lint + Vitest tests via Lefthook diff --git a/docker.nix b/docker.nix index e265840..4b3db49 100644 --- a/docker.nix +++ b/docker.nix @@ -37,7 +37,7 @@ let export RESEND_API_KEY="re_build_placeholder" export ENCRYPTION_KEY="build_placeholder_32_chars_long!" export CRON_SECRET="build_placeholder_secret" - export POCKETBASE_URL="http://localhost:8090" + export NEXT_PUBLIC_POCKETBASE_URL="http://localhost:8090" export APP_URL="https://phaseflow.v.paler.net" # Install dependencies diff --git a/spec.md b/spec.md index 2f8bd90..bd74fd4 100644 --- a/spec.md +++ b/spec.md @@ -645,7 +645,7 @@ APP_URL=https://phaseflow.yourdomain.com NODE_ENV=production # PocketBase -POCKETBASE_URL=http://localhost:8090 +NEXT_PUBLIC_POCKETBASE_URL=http://localhost:8090 # Email (Resend) RESEND_API_KEY=xxx @@ -700,7 +700,7 @@ job "phaseflow" { data = <