You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emulator ports can currently only be configured statically in the emulators block of firebase.json (or interactively via firebase init emulators). There is no way to set or override a port at invocation time.
This is painful in several common scenarios:
CI / parallel test runs: running multiple emulator suites concurrently (e.g. sharded test jobs on one runner) requires generating a distinct firebase.json per shard just to change port numbers.
Per-emulator port flags on emulators:start and emulators:exec that override the corresponding firebase.json values (falling back to config/defaults when omitted), e.g.:
Problem
Emulator ports can currently only be configured statically in the
emulatorsblock offirebase.json(or interactively viafirebase init emulators). There is no way to set or override a port at invocation time.This is painful in several common scenarios:
firebase.jsonper shard just to change port numbers.Proposed solution
Per-emulator port flags on
emulators:startandemulators:execthat override the correspondingfirebase.jsonvalues (falling back to config/defaults when omitted), e.g.:Precedence: CLI flag >
firebase.json> built-in default.