Fix PSD frontend network wiring
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user