Set production PocketBase URL in Docker build
Some checks failed
Deploy / deploy (push) Failing after 1m40s

NEXT_PUBLIC_* vars are baked in at build time, not runtime. Updated
docker.nix to use production URL and added deployment config location
to AGENTS.md.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-11 18:50:31 +00:00
parent 3567fbafd7
commit 9db8051e8d
2 changed files with 2 additions and 1 deletions

View File

@@ -19,6 +19,7 @@ Run these after implementing to get immediate feedback:
## Operational Notes ## Operational Notes
- Database: PocketBase at `NEXT_PUBLIC_POCKETBASE_URL` env var - Database: PocketBase at `NEXT_PUBLIC_POCKETBASE_URL` env var
- Deployment config: `../alo-cluster/services/phaseflow.hcl` (Nomad job)
- Garmin tokens encrypted with AES-256 using `ENCRYPTION_KEY` (32 chars) - Garmin tokens encrypted with AES-256 using `ENCRYPTION_KEY` (32 chars)
- Path aliases: `@/*` maps to `./src/*` - Path aliases: `@/*` maps to `./src/*`
- Pre-commit hooks: Biome lint + Vitest tests via Lefthook - Pre-commit hooks: Biome lint + Vitest tests via Lefthook

View File

@@ -37,7 +37,7 @@ let
export RESEND_API_KEY="re_build_placeholder" export RESEND_API_KEY="re_build_placeholder"
export ENCRYPTION_KEY="build_placeholder_32_chars_long!" export ENCRYPTION_KEY="build_placeholder_32_chars_long!"
export CRON_SECRET="build_placeholder_secret" export CRON_SECRET="build_placeholder_secret"
export NEXT_PUBLIC_POCKETBASE_URL="http://localhost:8090" export NEXT_PUBLIC_POCKETBASE_URL="https://pocketbase-phaseflow.v.paler.net"
export APP_URL="https://phaseflow.v.paler.net" export APP_URL="https://phaseflow.v.paler.net"
# Install dependencies # Install dependencies