fix(https): remove ports from compose fragment — MACVLAN makes port publishing incompatible with network_mode

This commit is contained in:
2026-05-10 01:29:46 -04:00
parent 46963cbeec
commit 7b54944fcc
2 changed files with 8 additions and 14 deletions

View File

@@ -113,8 +113,6 @@ class HTTPSService(BaseService):
fragment["environment"]["TLS_CN"] = cfg["tls_cn"]
if "http_versions" in cfg:
fragment["environment"]["HTTP_VERSIONS"] = json.dumps(cfg["http_versions"])
if "http/3" in cfg["http_versions"]:
fragment.setdefault("ports", []).append("443:443/udp")
return fragment