umbrel-apps/squeaknode/exports.sh
2022-05-16 15:30:51 +02:00

8 lines
419 B
Bash

export APP_SQUEAKNODE_IP="10.21.21.54"
export APP_SQUEAKNODE_PORT="12994"
export APP_SQUEAKNODE_GRPC_PORT="8994"
export APP_SQUEAKNODE_P2P_PORT="8555"
export APP_SQUEAKNODE_P2P_TESTNET_PORT="18555"
squeaknode_p2p_hidden_service_file="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}-p2p/hostname"
export SQUEAKNODE_P2P_HIDDEN_SERVICE="$(cat "${squeaknode_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"