mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
* fix(floci-ui): resolve readiness probe URL from container endpoint Resolve the floci-ui readiness probe URL once at start/adopt time from the sidecar's resolved EndpointInfo instead of branching on container detection each probe. EndpointInfo already returns a Floci-reachable address — localhost:hostPort natively, or the sidecar's container IP on the shared Docker network when Floci runs in a container, where the published host port is unreachable from inside. * fix(floci-ui): set hostPort from bound endpoint natively, keep configured port in container Address PR review: EndpointInfo.port() is the real host binding only in native mode (and reflects dynamic port=0 allocation there). In container mode it is the sidecar's internal port (4500), so the configured published port stays authoritative for the browser redirect. Extract resolveHostPort() and use it in both ensureStarted() and adoptExisting().