fix(rc06): resolve private participant health alias
This commit is contained in:
+5
@@ -187,6 +187,11 @@ def test_production_compose_and_edge_expose_only_the_hardened_facade() -> None:
|
|||||||
assert edge["networks"]["default"]["aliases"] == [
|
assert edge["networks"]["default"]["aliases"] == [
|
||||||
"${RC06_AI_INTERNAL_SERVER_NAME:?RC06_AI_INTERNAL_SERVER_NAME is required}"
|
"${RC06_AI_INTERNAL_SERVER_NAME:?RC06_AI_INTERNAL_SERVER_NAME is required}"
|
||||||
]
|
]
|
||||||
|
assert any(
|
||||||
|
item.startswith("${RC06_AI_INTERNAL_SERVER_NAME:")
|
||||||
|
and item.endswith(":127.0.0.1")
|
||||||
|
for item in edge["extra_hosts"]
|
||||||
|
)
|
||||||
nginx = (
|
nginx = (
|
||||||
REPO_ROOT / "yuqei-infra/nginx/templates/default.conf.template"
|
REPO_ROOT / "yuqei-infra/nginx/templates/default.conf.template"
|
||||||
).read_text(encoding="utf-8")
|
).read_text(encoding="utf-8")
|
||||||
|
|||||||
@@ -167,6 +167,7 @@ services:
|
|||||||
- ${BACKEND_TLS_TRUSTED_CA_FILE:?BACKEND_TLS_TRUSTED_CA_FILE is required}:/etc/nginx/trusted-ca.pem:ro
|
- ${BACKEND_TLS_TRUSTED_CA_FILE:?BACKEND_TLS_TRUSTED_CA_FILE is required}:/etc/nginx/trusted-ca.pem:ro
|
||||||
extra_hosts:
|
extra_hosts:
|
||||||
- "${BACKEND_SERVER_NAME:?BACKEND_SERVER_NAME is required}:127.0.0.1"
|
- "${BACKEND_SERVER_NAME:?BACKEND_SERVER_NAME is required}:127.0.0.1"
|
||||||
|
- "${RC06_AI_INTERNAL_SERVER_NAME:?RC06_AI_INTERNAL_SERVER_NAME is required}:127.0.0.1"
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
aliases:
|
aliases:
|
||||||
|
|||||||
Reference in New Issue
Block a user