Samourai-Wallet / samourai-dojo

End-to-end bitcoin wallet backing server for powering Samourai Wallet and other light wallets
https://samouraiwallet.com/dojo
Other
170 stars 79 forks source link

Remove/uninstall btc-rpc-explorer #135

Closed Relaxo143 closed 4 years ago

Relaxo143 commented 4 years ago

I recently upgraded my dojo to 1.4.1 and I didn't see the new explorer until later. Now I would like to uninstall that part of the bundle or at least prevent it from starting since it requires a lot of RAM. How could I do that? the install flag is set to off, but I guess I should have done that before upgrading.

LaurentMT commented 4 years ago

You just need to set the option EXPLORER_INSTALL to off in docker-explorer.conf and to restart your Dojo. It will deactivate the explorer.

You can confirm that it worked by running the command docker ps after the restart. You should see that the explorer container doesn't run.

Relaxo143 commented 4 years ago

I get this with docker ps 2 days ago Up 46 minutes 8080-8082/tcp nodejs df4ee903f695 samouraiwallet/dojo-explorer:1.0.0 "/home/node/app/rest…" The flag is set to off. When I restart it it says stopping explorer and then starting explorer.. so it seems it's running.

LaurentMT commented 4 years ago

I don't have a Dojo 1.4.1 available right now but I've been able to deactivate the explorer on Dojo 1.5 with the following procedure (If I'm not mistaken, Dojo 1.4.1 should have the same behavior):

Relaxo143 commented 4 years ago

It worked, thanks