Expose PSD frontend locally
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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"]}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user