How do I properly expose a BTCPay Monero node on Tor?
Is it sufficient to bind the hidden service to the container’s IP and set the port to 18089, or are there additional considerations I need to be aware of?
https://sethforprivacy.com/guides/accepting-monero-via-btcpay-server/
Yes, but setting the environment variables before running setup. The following two coded env vars will set your btcpay server to automatically also run a tor hidden service. Once XMR is configured (only one wallet per server at the moment) you should be able to access the hidden service and pay without issue.
Run btcpay-setup.sh with the right parameters
Set the custom domain you chose to use
export BTCPAY_HOST=“btcpay.EXAMPLE.com”
Use Bitcoin on mainnet
export NBITCOIN_NETWORK=“mainnet”
Enable Bitcoin support
export BTCPAYGEN_CRYPTO1=“btc”
Enable Monero support
opt-add-tor enables Tor support for the UI and Bitcoin node