Skip to content

Latest commit

 

History

History
46 lines (24 loc) · 2.1 KB

Deployment.md

File metadata and controls

46 lines (24 loc) · 2.1 KB

How to deploy a BTCPay server instance

You can deploy BTCPay Server in several ways.

Under the hood, BTCPay Server is using a minimalist block explorer called NBXplorer which track HD derived addresses. The Explorer depends on a trusted full node.

Architecture

BTCPay server saves its data into either a SQLite or a PostgreSQL database.

Minimal manual setup

The process is basically the following:

  1. Download and sync Bitcoin Core
  2. Clone and run NBXplorer
  3. Clone and run BTCPay Server

Take a look to our video to learn more:

BTCPay - Setup

Docker-Compose setup

The minimal manual setup is not good enough for production environment (no reverse proxy, no HTTPS), and is a bit complicated to deploy.

The ideal deployment is similar to:

Production BTCPay

There is a docker-compose.yml file available setting up this environment, please visit our docker-compose for production environment.

Deploy to Azure setup

This setup is similar to the Docker-Compose Setup, except that the host machine of the docker-compose is hosted by Microsoft Azure.

If you have an Azure subscription you can then deploy with one click here.

Deploy to Azure

Please see our video for a demo:

BTCPay - One Click Setup

You can learn more on our Azure repository.