Files
apf_portal/infra/local
Julien Gautier 2a8f875a9c
CI / scan (pull_request) Successful in 4m44s
CI / commits (pull_request) Successful in 4m58s
CI / check (pull_request) Successful in 5m15s
CI / a11y (pull_request) Successful in 3m53s
CI / perf (pull_request) Successful in 8m14s
fix(infra): exclude serve-static from 'dev.sh up all' (port collision with apps)
dev.sh up all failed at startup with 'port 4200 already allocated':
both the apps profile (portal-shell dev-server, ADR-0030) and the
serve-static profile (Caddy reverse proxy) publish 4200 by default.

Split ALL_PROFILES (teardown / status / logs scope, unchanged) from
a new UP_ALL_PROFILES (what 'up all' expands to). serve-static drops
out of up all because:
- it collides with apps on 4200, and
- it has zero value without a prior nx build --configuration=production
  (otherwise Caddy 404s every request).

serve-static stays explicit: ./infra/local/dev.sh up serve-static.
Teardown still catches it via ALL_PROFILES.

Usage text + infra/README.md cheat-sheet updated.

The script is environment-agnostic — works the same on local and on
vm-dev. No local-vs-vm mode needed.
2026-06-01 13:02:25 +02:00
..