Files
floci/docs/ui
Abhigya 899c6f5ec1 feat(ui): add a bind address for the web console sidecar (#4175)
The console sidecar is published with a bare host port, so Docker binds it on every
interface. That matches the documented deployment, where Floci's own port is published
the same way, but it does not follow an operator who narrowed theirs: a
"127.0.0.1:4566:4566" mapping keeps the API off the network while the console, which is
unauthenticated and can drive every emulated service, stays reachable on 4500.

floci.services.ui.bind-address (FLOCI_SERVICES_UI_BIND_ADDRESS) names the host interface
the console publishes on. It is unset by default, so nothing changes for anyone who has
not asked; setting it to 127.0.0.1 is how the narrowed deployment keeps the console where
the API is. A blank value is a hard error rather than a silent fall back to the wildcard.

ContainerBuilder.withPortBinding(containerPort, hostPort, hostIp) and a portBindingHostIps
component on ContainerSpec carry the address through to the Docker binding.
withLoopbackPortBinding is unchanged, and a port that asks for neither still publishes on
every interface, which is Docker's own default.
2026-09-22 23:33:14 -04:00
..