Files
copilotkit__copilotkit/showcase/docker-compose.local.yml
Alem Tuzlak 6b2bdbcfa9 chore(showcase/dashboard): plumb NEXT_PUBLIC_* build args in local compose
The dashboard image was being built with only `OPS_BASE_URL` set; the
two other compile-time env vars used by the matrix view stayed unset:

- NEXT_PUBLIC_POCKETBASE_URL — left at the dev fallback in production
  builds, which surfaces a "FATAL-CONFIG: NEXT_PUBLIC_POCKETBASE_URL
  was unset at build time" banner in the browser console and causes
  the matrix's PB SSE subscription to fail (no live updates).
- NEXT_PUBLIC_SHELL_URL — left unset, so every Demo / Code link in
  the matrix renders as `about:blank#shell-url-missing`.

Pin both at build time:
- POCKETBASE_URL → http://localhost:8090 (host port the user's browser
  reaches; container-internal `pocketbase:8090` is unresolvable from
  outside the compose network).
- SHELL_URL → http://localhost:3100 (langgraph-python integration
  host port; no shared "shell" service in the local stack).
2026-05-06 16:26:17 +02:00

10 KiB