umbrel-apps/squeaknode/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

7 lines
384 B
Bash

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 APP_SQUEAKNODE_P2P_HIDDEN_SERVICE="$(cat "${squeaknode_p2p_hidden_service_file}" 2>/dev/null || echo "notyetset.onion")"