From 8aa167681103c1a2ab743b303905fd91224dde0d Mon Sep 17 00:00:00 2001 From: mptyl Date: Mon, 20 Jul 2026 20:27:37 +0200 Subject: [PATCH] Expose PSD frontend locally --- deploy/compose.psd-local.yaml.example | 2 ++ harness/tests/test_psd_local_compose_contract.py | 1 + 2 files changed, 3 insertions(+) diff --git a/deploy/compose.psd-local.yaml.example b/deploy/compose.psd-local.yaml.example index bde297a6..52d6a932 100644 --- a/deploy/compose.psd-local.yaml.example +++ b/deploy/compose.psd-local.yaml.example @@ -32,6 +32,8 @@ services: - ${THT_PSD_WORKSPACE_HOST_PATH:?set THT_PSD_WORKSPACE_HOST_PATH}:/data/workspaces/psd frontend: + ports: + - "127.0.0.1:8099:8080" networks: !override default: aliases: [frontend, thothii-frontend] diff --git a/harness/tests/test_psd_local_compose_contract.py b/harness/tests/test_psd_local_compose_contract.py index 1bedb293..3ddff6da 100644 --- a/harness/tests/test_psd_local_compose_contract.py +++ b/harness/tests/test_psd_local_compose_contract.py @@ -53,6 +53,7 @@ def test_psd_overlay_uses_generated_workspace_for_default_and_named_commands(): assert set(compose["volumes"]) == {"thoth_data", "thoth_pi_config"} assert core["networks"]["default"]["aliases"] == ["core", "thothii-core"] frontend = compose["services"]["frontend"] + assert frontend["ports"] == ["127.0.0.1:8099:8080"] assert frontend["networks"] == { "default": {"aliases": ["frontend", "thothii-frontend"]} }