Fix PSD frontend network wiring

This commit is contained in:
2026-07-20 20:26:13 +02:00
parent 32efd647c4
commit ad6057f0dd
2 changed files with 9 additions and 0 deletions
+5
View File
@@ -31,6 +31,11 @@ services:
- ./deploy/workspaces/psd.yaml:/app/harness/config/tht.yaml:ro
- ${THT_PSD_WORKSPACE_HOST_PATH:?set THT_PSD_WORKSPACE_HOST_PATH}:/data/workspaces/psd
frontend:
networks: !override
default:
aliases: [frontend, thothii-frontend]
volumes:
thoth_data:
thoth_pi_config:
@@ -52,6 +52,10 @@ def test_psd_overlay_uses_generated_workspace_for_default_and_named_commands():
assert "/run/secrets/thothii.secrets" in targets
assert set(compose["volumes"]) == {"thoth_data", "thoth_pi_config"}
assert core["networks"]["default"]["aliases"] == ["core", "thothii-core"]
frontend = compose["services"]["frontend"]
assert frontend["networks"] == {
"default": {"aliases": ["frontend", "thothii-frontend"]}
}
assert compose["networks"]["default"] == {
"external": True,
"name": "thothii_default",