mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-12 10:52:16 -04:00
add lws service
This commit is contained in:
parent
b58cf52373
commit
1fd10d8cde
3 changed files with 53 additions and 2 deletions
20
install
20
install
|
@ -301,6 +301,22 @@ configure_explorer() {
|
|||
done
|
||||
}
|
||||
|
||||
configure_lws() {
|
||||
echo -e "${OkBullet}Configuring LWS..."
|
||||
while true; do
|
||||
read -r -e -p " Do you want to enable the light wallet service? [y/n]: " yn
|
||||
case $yn in
|
||||
[Yy]*)
|
||||
sed -i '/#!lws/s/# //g' docker-compose.yml
|
||||
ENABLE_LWS=true
|
||||
break
|
||||
;;
|
||||
[Nn]*) break ;;
|
||||
*) echo " Please answer yes or no." ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
configure_grafana() {
|
||||
echo -e "${OkBullet}Configuring grafana..."
|
||||
while true; do
|
||||
|
@ -419,14 +435,14 @@ configure_network
|
|||
configure_tls_domain
|
||||
configure_tls_port
|
||||
configure_pruning
|
||||
configure_lws
|
||||
configure_cors
|
||||
|
||||
configure_tor
|
||||
# Deployment of explorer disabled until it's stable.
|
||||
# configure_explorer
|
||||
configure_watchtower
|
||||
configure_grafana
|
||||
# configure_lws
|
||||
|
||||
start_xmrsh
|
||||
completed
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue