I was going to write a nice tutorial on how to do this, but in the time since I installed my BTCPay server, the BTCPay project has created an amazing github tutorial that is much better than I could do. So, instead, I am going to add a short video that explains what BTCPay server is, and link to their stellar tutorial so you can refer to it to set up your own BTCPay server.
BTCPay Server resources
Basic Dockerfile example for BTCPay
# Login as root sudo su - # Create a folder for BTCPay mkdir BTCPayServer cd BTCPayServer # Clone this repository git clone https://github.com/btcpayserver/btcpayserver-docker cd btcpayserver-docker # Run btcpay-setup.sh with the right parameters export BTCPAY_HOST="btcpay.EXAMPLE.com" export NBITCOIN_NETWORK="mainnet" export BTCPAYGEN_CRYPTO1="btc" export BTCPAYGEN_ADDITIONAL_FRAGMENTS="opt-save-storage-s" export BTCPAYGEN_REVERSEPROXY="nginx" export BTCPAYGEN_LIGHTNING="clightning" export BTCPAY_ENABLE_SSH=true . ./btcpay-setup.sh -i exit
BTCPay’s docker file has a bunch of environment variables available, which are listed on Github, that let you add functionality for additional coins (like I did with XMR) or to add on additional services. For example, I have also added an Electrum personal server (a private backend for my Electrum wallet which uses my Bitcoin node to verify transactions) & Librepatron instance (self-hosted Bitcoin Patreon alternative).
If you’d like to support my work
You can donate here with Bitcoin, Lightning Network, or Monero
Or you can donate to my crowdfund with Bitcoin, Lightning Network, or Monero:
You can also become a monthly Librepatron, with Bitcoin, Lightning Network, or Monero: