From a500100051151f65283291c7ef83ea0d8b5bcb24 Mon Sep 17 00:00:00 2001 From: Yang Yang Date: Sun, 14 Jun 2020 17:38:08 +0800 Subject: [PATCH] expose xud webproxy 8080 --- images/utils/launcher/config/template.py | 2 +- images/xud/latest/entrypoint.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/images/utils/launcher/config/template.py b/images/utils/launcher/config/template.py index 51212fcf3..16cdbed10 100644 --- a/images/utils/launcher/config/template.py +++ b/images/utils/launcher/config/template.py @@ -139,7 +139,7 @@ def __eq__(self, other): "container": "/mnt/hostfs", }, ], - "ports": [PortPublish("28885")], + "ports": [PortPublish("28885"), PortPublish("8080")], "mode": "native", "preserve_config": False, "use_local_image": False, diff --git a/images/xud/latest/entrypoint.sh b/images/xud/latest/entrypoint.sh index e75c77b87..d523fa1b9 100755 --- a/images/xud/latest/entrypoint.sh +++ b/images/xud/latest/entrypoint.sh @@ -101,6 +101,7 @@ done sed -i '/\[connext/,/^$/s/port.*/port = 5040/' $XUD_CONF sed -i '/\[connext/,/^$/s/webhookhost.*/webhookhost = "xud"/' $XUD_CONF sed -i "/\[connext/,/^$/s/webhookport.*/webhookport = $HTTP_PORT/" $XUD_CONF + sed -i "/\[webproxy/,/^$/s/disable.*/disable = false/" $XUD_CONF } echo "[entrypoint] Launch with xud.conf:"