Explorer, API, and Soroban options
This guide documents additional service-level options available in:
docker-explorer.confdocker-nginx.confdocker-soroban.confdocker-node.conf
All commands are to be copy and pasted into the terminal of your Dojo, then press ENTER.
Switch block explorer type
Section titled “Switch block explorer type”Open explorer config:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-explorer.confTo use BTC-RPC Explorer:
EXPLORER_INSTALL=onEXPLORER_TYPE=btc_rpc_explorerTo use mempool.space:
EXPLORER_INSTALL=onEXPLORER_TYPE=mempool_spaceThen apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradeNote for mempool_space: current Dojo integration expects an Electrum endpoint reachable by INDEXER_IP:INDEXER_RPC_PORT over TCP.
Mempool database credentials (set once)
Section titled “Mempool database credentials (set once)”When using mempool_space, these options are used by mempool’s own database:
MEMPOOL_MYSQL_USER=mempoolMEMPOOL_MYSQL_PASS=mempoolMEMPOOL_MYSQL_ROOT_PASSWORD=adminMEMPOOL_MYSQL_DATABASE=mempoolSet these before first install. Do not modify them on an already running installation.
Enable or disable explorer
Section titled “Enable or disable explorer”To disable the explorer entirely, set:
EXPLORER_INSTALL=offThen apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradeSlow device mode (BTC-RPC Explorer only)
Section titled “Slow device mode (BTC-RPC Explorer only)”This option applies only when:
EXPLORER_TYPE=btc_rpc_explorerUse slower/lower-resource mode:
EXPLORER_SLOW_DEVICE_MODE=onUse faster mode on stronger hardware:
EXPLORER_SLOW_DEVICE_MODE=offThen apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradeExpose Dojo API to local network apps
Section titled “Expose Dojo API to local network apps”By default, Dojo API stays inside Docker and Tor.
To expose nginx (Dojo API) to trusted local devices, open:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-nginx.confSet:
NGINX_EXTERNAL=onNGINX_EXTERNAL_IP=127.0.0.1NGINX_EXTERNAL_PORT=3000For macOS or Windows Docker hosts, set NGINX_EXTERNAL_IP to the Docker VM IP instead of 127.0.0.1.
Then apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradeWarning: do not expose this port to the public internet.
Soroban install and announce options
Section titled “Soroban install and announce options”Open Soroban config:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-soroban.confDisable Soroban completely:
SOROBAN_INSTALL=offKeep Soroban installed but do not announce its RPC endpoint publicly:
SOROBAN_INSTALL=onSOROBAN_ANNOUNCE=offThen apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgradePandoTx behavior (requires Soroban)
Section titled “PandoTx behavior (requires Soroban)”Open node config:
cd ~/dojo-app/docker/my-dojo/conf/nano docker-node.confDisable outgoing PandoTx pushes:
NODE_PANDOTX_PUSH=offDisable processing incoming PandoTx transactions:
NODE_PANDOTX_PROCESS=offNODE_PANDOTX_PROCESS is effective only if SOROBAN_INSTALL=on and SOROBAN_ANNOUNCE=on.
Choose fallback mode for push behavior:
NODE_PANDOTX_FALLBACK_MODE=secureor:
NODE_PANDOTX_FALLBACK_MODE=convenientSet retries for failed pushes:
NODE_PANDOTX_NB_RETRIES=2Then apply changes:
cd ~/dojo-app/docker/my-dojo./dojo.sh upgrade