fix(topology): publish UDP/443 on gateway base when https service has http/3 enabled

This commit is contained in:
2026-05-10 01:33:01 -04:00
parent 7b54944fcc
commit 6618b3c2a1
3 changed files with 16 additions and 0 deletions

View File

@@ -108,8 +108,11 @@ def generate_topology_compose(hydrated: dict[str, Any]) -> dict:
svc = get_service(svc_name)
if svc is None or svc.fleet_singleton:
continue
svc_cfg = service_config.get(svc_name, {})
for port in svc.ports:
published.append(f"{port}:{port}")
for port in svc.udp_ports(svc_cfg):
published.append(f"{port}:{port}/udp")
if published:
base["ports"] = published