You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
nicolas.dorier acf53c34a7 Update README 7 years ago
Production Remove legacy docker-compose.yml, auto generate the Test docker-compose 7 years ago
Test Update README 7 years ago
docker-compose-generator Remove legacy docker-compose.yml, auto generate the Test docker-compose 7 years ago
.gitignore Use generated docker-compose 7 years ago
LICENSE Init 8 years ago
README.md Remove legacy docker-compose.yml, auto generate the Test docker-compose 7 years ago
bitcoin-cli.ps1 Add utilities 7 years ago
bitcoin-cli.sh Add utilities 7 years ago
generate-docker-compose.ps1 Use generated docker-compose 7 years ago
litecoin-cli.ps1 Add utilities 7 years ago
litecoin-cli.sh Add utilities 7 years ago
publish-stable.ps1 helper script 7 years ago

README.md

How to use

This repository is hosting different docker-compose which can be used to facilitate deployment of BTCPay Server.

Architecture

As you can see, it depends on several piece of infrastructure, mainly:

  • A lightweight block explorer (NBXplorer),
  • A database (Postgres, or SQLite),
  • A full node (Bitcoin Core)

Setting up the dependencies might be time consuming, this repository is meant to give working example of docker-compose file which will setup everything for you.

The Test docker-compose are used for local testing.

The Production docker-compose are used for production environment. It adds NGinx as a reverse proxy and Let's Encrypt and DockerGen to automatically configure HTTPS.

The production docker-compose is used under the hood to deploy an instance of BTCPay on Microsoft Azure in one click:

Deploy to Azure

About accessing services inside those docker compose

Several scripts are provided to access the internal of your docker-service.

litecoin-cli.sh and litecoin-cli.ps1 let you access your litecoin node CLI.

bitcoin-cli.sh and bitcoin-cli.ps1 let you access your bitcoin node CLI.

You can use it easily:

bitcoin-cli.sh getblockcount