Files
btcpayserver-docker/Test

About this docker-compose

This docker-compose shows how to configure postgres, bitcoind, NBXplorer and BTCPay on regtest.

Architecture

This is the same architecture as Production but without NGINX as a reverse proxy.

The relevant environment variables are:

  • NBITCOIN_NETWORK: the blockchain identifier used by NBitcoin (eg., regtest, testnet, mainnet)
  • BTCPAY_HOST: the external url used to access your server from internet. This domain name must point to this machine for Let's Encrypt to create your certificate. (typically with a CNAME or A record)

The port 80 is exposed.