mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2024-11-11 16:09:18 +00:00
Use HS for RPC not the app within the Electrs frontend
This commit is contained in:
parent
03054f5510
commit
d00063501c
|
@ -12,7 +12,7 @@ services:
|
|||
- electrs
|
||||
restart: on-failure
|
||||
environment:
|
||||
ELECTRUM_HIDDEN_SERVICE: "${APP_HIDDEN_SERVICE}"
|
||||
ELECTRUM_HIDDEN_SERVICE: "${APP_ELECTRS_RPC_HIDDEN_SERVICE}"
|
||||
ELECTRUM_LOCAL_SERVICE: "${DEVICE_DOMAIN_NAME}"
|
||||
ELECTRS_HOST: "${APP_ELECTRS_NODE_IP}"
|
||||
BITCOIN_HOST: "${APP_BITCOIN_NODE_IP}"
|
||||
|
|
|
@ -2,3 +2,6 @@ export APP_ELECTRS_IP="10.21.22.4"
|
|||
export APP_ELECTRS_NODE_IP="10.21.21.10"
|
||||
|
||||
export APP_ELECTRS_NODE_PORT="50001"
|
||||
|
||||
rpc_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-rpc/hostname"
|
||||
export APP_ELECTRS_RPC_HIDDEN_SERVICE="$(cat "${rpc_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"
|
Loading…
Reference in New Issue
Block a user