Opened 7 months ago

Last modified 6 months ago

#33750 assigned defect

Hosting BTCPayserver

Reported by: hiro Owned by: hiro
Priority: Medium Milestone:
Component: Internal Services/Services Admin Team Version:
Severity: Normal Keywords:
Cc: anarcat, sstevenson Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


BTCPayserver suggests to deploy and use the docker configuration in production.

The docker configuration is available via docker-compose:

BTCPay depends on several pieces of infrastructure, mainly:

A lightweight block explorer (NBXplorer),
A database (PostgreSQL or SQLite),
A full node (eg. Bitcoin Core)

There can be more dependencies if you support more than just standard Bitcoin transactions, including:

LitecoinD and other coin daemons

It seems the bitcoin client needs to be installed and synced locally, therefore I am a bit concerned about storage. On this issue the docker setup has some scripts to prune the synced data to approx 100GB:

I am also concerned how to make this setup play nicely with our infrastructure.

It would be nice if we can have an idea of the setup that BTC is currently running for us. What are the requirements? How many coins are supported?

Child Tickets

Change History (3)

comment:1 Changed 7 months ago by sstevenson

Here are the answers from the person from BTCPayServer who is currently running a server for us:

  1. It would be nice if we can have an idea of the setup that BTC is currently running for us.

We're running it on LunaNode host

  1. What are the requirements?
  • 2 GB RAM
  • cca 60GB of SSD storage
  • Docker support
  1. How many coins are supported?

For now we only deployed Bitcoin and Lightning Network for you, however we support a dozen more (be aware that altcoins are maintained by their own community, we treat them as plugins to btcpay, and you'd need more RAM and storage since every new coin is essentially a new node, I personally don' think it's worth it since you already have a setup for altcoins, but you can give it a try).

As he says, we have no reason to accept anything other than Bitcoin right now. - Sarah

comment:2 Changed 7 months ago by hiro

I have been looking if we can better manage this snowflake somewhere else out of our current infra and puppet repository.

I have been looking at cloud providers that would allow us to deploy a docker-compose setup directly.

GP1-XS - 4 vCPUs - 16 GB - 150 GB NVMe - 500 Mbit/s - €39/month for a kubernetes cluster
We could just run a single VM and install compose.

Digital ocean has several options. Either via droplet or via kubernetes. Prices are somewhat similar.

The bitpay people suggest lunanode: approx 10$ per month.

comment:3 Changed 6 months ago by pavlenex


BTCPay Server core contributor here. sstevenson directed me to this ticket. Happy to help with whatever is needed to make the transition smooth.

BTCPay Server can be very easily run and deployed with and VPS that meets minimum requirements.

The server hiro suggested sounds good as well. Docker-deployment is highly encouraged as it's way easier to both launch and maintain, please do not go with manual deployment, it has way too many moving parts.

Let me know if I can help somehow.

Last edited 6 months ago by pavlenex (previous) (diff)
Note: See TracTickets for help on using tickets.