Skip to content

Commit

Permalink
expose xud webproxy 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
reliveyy committed Jun 19, 2020
1 parent 81419e7 commit a500100
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion images/utils/launcher/config/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions images/xud/latest/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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:"
Expand Down

0 comments on commit a500100

Please sign in to comment.