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
|
- ${THT_PSD_WORKSPACE_HOST_PATH:?set THT_PSD_WORKSPACE_HOST_PATH}:/data/workspaces/psd
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8099:8080"
|
||||||
networks: !override
|
networks: !override
|
||||||
default:
|
default:
|
||||||
aliases: [frontend, thothii-frontend]
|
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 set(compose["volumes"]) == {"thoth_data", "thoth_pi_config"}
|
||||||
assert core["networks"]["default"]["aliases"] == ["core", "thothii-core"]
|
assert core["networks"]["default"]["aliases"] == ["core", "thothii-core"]
|
||||||
frontend = compose["services"]["frontend"]
|
frontend = compose["services"]["frontend"]
|
||||||
|
assert frontend["ports"] == ["127.0.0.1:8099:8080"]
|
||||||
assert frontend["networks"] == {
|
assert frontend["networks"] == {
|
||||||
"default": {"aliases": ["frontend", "thothii-frontend"]}
|
"default": {"aliases": ["frontend", "thothii-frontend"]}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user