mirror of
https://github.com/aljazceru/btcpayserver-docker.git
synced 2026-01-12 01:14:21 +01:00
About this docker-compose
The docker-compose can be used for production purpose.
It is composed of:
- A full node (Bitcoin Core)
- A lightweight block explorer (NBxplorer)
- A BTCPay Server
- A database (Postgres)
- A reverse proxy (NGINX)
- Two containers configuring NGINX as a reverse proxy and renewing SSL certificates.
This docker-compose is used for one click deploy on azure by an Ubuntu, it can be used on any docker supporting host.
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 the NGINX server from internetLETSENCRYPT_EMAIL: The email Let's Encrypt will use to notify you about certificate expiration.BITCOIND_COOKIEFILE: The relative path to RPC cookie file from bitcoin's data directory. (.cookiefor mainnet,regtest/.cookiefor regtest,testnet3/.cookiefor testnet)BITCOIND_NETWORKPARAMETER: The blockchain identifier parameter used by bitcoind (regtest=1for regtest,testnet=1for testnet,#mainnet=1for mainnet)ACME_CA_URI: Let's encrypt API endpoint (https://acme-staging.api.letsencrypt.org/directoryfor a staging certificate,https://acme-v01.api.letsencrypt.org/directoryfor a production one)
Any unset or empty environment variable will be set for a regtest deployment.
