diff --git a/images/utils/launcher/config/config.py b/images/utils/launcher/config/config.py index 939ff7ca7..1ae171918 100644 --- a/images/utils/launcher/config/config.py +++ b/images/utils/launcher/config/config.py @@ -113,6 +113,7 @@ def parse_command_line_arguments(self): parser.add_argument("--use-local-images") parser.add_argument("--dev", action="store_true") + parser.add_argument("--webui", action="store_true") self.args = parser.parse_args() self.logger.info("Parsed command-line arguments: %r", self.args) @@ -404,6 +405,11 @@ def update_webui(self, parsed): node = self.nodes.get("webui", None) self.update_ports(node, parsed) + opt = "webui" + if hasattr(self.args, opt): + value = getattr(self.args, opt) + node["disabled"] = False + def update_raiden(self, parsed): """Update raiden related configurations from parsed TOML raiden section :param parsed: Parsed raiden TOML section diff --git a/images/utils/launcher/config/template.py b/images/utils/launcher/config/template.py index ec6c45293..d8521283a 100644 --- a/images/utils/launcher/config/template.py +++ b/images/utils/launcher/config/template.py @@ -157,6 +157,7 @@ def __eq__(self, other): "mode": "native", "preserve_config": False, "use_local_image": False, + "disabled": True, }, }, "testnet": { @@ -320,6 +321,7 @@ def __eq__(self, other): "mode": "native", "preserve_config": False, "use_local_image": False, + "disabled": True, } }, "mainnet": { @@ -482,6 +484,7 @@ def __eq__(self, other): "mode": "native", "preserve_config": False, "use_local_image": False, + "disabled": True, } } } diff --git a/images/webui/latest/Dockerfile b/images/webui/latest/Dockerfile index 679ce7a4d..f1e04ab47 100644 --- a/images/webui/latest/Dockerfile +++ b/images/webui/latest/Dockerfile @@ -3,7 +3,7 @@ RUN apk --no-cache add git RUN git clone -b socketio https://github.com/ExchangeUnion/xud-webui-poc /src/frontend WORKDIR /src/frontend -RUN git fetch && git checkout b1f1083d +RUN git fetch && git checkout f3d34f02 RUN yarn install RUN yarn build