umbrel-apps/squeaknode/exports.sh

7 lines
384 B
Bash
Raw Permalink Normal View History

2022-04-20 20:32:07 +00:00
export APP_SQUEAKNODE_PORT="12994"
export APP_SQUEAKNODE_GRPC_PORT="8994"
export APP_SQUEAKNODE_P2P_PORT="8555"
2022-05-16 13:30:51 +00:00
export APP_SQUEAKNODE_P2P_TESTNET_PORT="18555"
squeaknode_p2p_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-p2p/hostname"
export APP_SQUEAKNODE_P2P_HIDDEN_SERVICE="$(cat "${squeaknode_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"