umbrel-apps/suredbits-wallet/exports.sh
Steven Briscoe 11f36560e8
Remove hard-coded container IPs (#310)
Co-authored-by: Steven Briscoe <me@stevenbriscoe.com>
2022-12-04 20:18:22 +00:00

4 lines
286 B
Bash

export APP_SUREDBITS_WALLET_P2P_PORT="2862"
suredbits_wallet_p2p_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-p2p/hostname"
export APP_SUREDBITS_WALLET_P2P_HIDDEN_SERVICE="$(cat "${suredbits_wallet_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"