A minimal, self-hostable BTCPay Server setup for Pirate Chain (ARRR). This pulls prebuilt images and runs them with Docker.
- Docker: Install Docker Desktop or Docker Engine for your OS (
https://www.docker.com) - curl: Installed by default on macOS/Linux; on Windows, use
curl.exe --installin CMD/PowerShell
Follow the instructions for your OS. All paths below create and use a new pirate-btcpay folder in your home directory.
- Install Docker from
https://www.docker.comand start it - Open CMD
- Create a working folder and download the compose file:
mkdir %USERPROFILE%\pirate-btcpay && cd %USERPROFILE%\pirate-btcpay curl -fsSL https://raw.githubusercontent.com/PirateNetwork/pirate-btcpay/main/docker/docker-compose.yml -o compose.yaml - Edit config values in
compose.yamlfile:- Set your Pirate Full Viewing Key and wallet birthday height from your wallet:
fvk: Your-Full-Veiwing-Key starting_height: 200000 (example, base this on your wallet's birthday height) confirmations: 6 (Set to 6 by default. You can change the number of confirmations before a transaction is accepted) - Start services:
docker compose up -d default - Open
http://localhost:14142/registerin your browser - Create an account
- Create a store and set default currency to ARRR
- Go to Settings → Pirate → Modify → tick Enabled → Save
- Install Docker from
https://www.docker.comand start it - Open PowerShell
- Create a working folder and download the compose file:
New-Item -ItemType Directory -Force -Path "$HOME/pirate-btcpay" | Out-Null Set-Location "$HOME/pirate-btcpay" curl.exe -fsSL https://raw.githubusercontent.com/PirateNetwork/pirate-btcpay/main/docker/docker-compose.yml -o compose.yaml - Edit
compose.yamland setfvkandstarting_heightas step 4 in Windows CMD instructions - Start services:
docker compose up -d default - Complete the same UI steps as steps 6 to 9 in Windows CMD instructions
- Install Docker Desktop for Mac and start it
- In Terminal:
mkdir -p "$HOME/pirate-btcpay" && cd "$HOME/pirate-btcpay" curl -fsSL https://raw.githubusercontent.com/PirateNetwork/pirate-btcpay/main/docker/docker-compose.yml -o compose.yaml - Edit
compose.yamland setfvkandstarting_heightas step 4 in Windows CMD instructions - Start services:
docker compose up -d default - Complete the same UI steps as steps 6 to 9 in Windows CMD instructions`
- Install Docker Engine or Docker Desktop and ensure your user can run Docker
- In a terminal:
mkdir -p "$HOME/pirate-btcpay" && cd "$HOME/pirate-btcpay" curl -fsSL https://raw.githubusercontent.com/PirateNetwork/pirate-btcpay/main/docker/docker-compose.yml -o compose.yaml - Edit
compose.yamland setfvkandstarting_heightas step 4 in Windows CMD instructions - Start services:
docker compose up -d default - Complete the same UI steps as steps 6 to 9 in Windows CMD instructions
- Full Viewing Key: Put your ARRR FVK in
fvk - starting_height: Use your wallet’s birthday height for fastest sync
- Lightwalletd URL: Set to
https://lightd1.pirate.black:443(change vialwd_urlif needed)
- If the site isn’t reachable, ensure Docker is running and ports aren’t in use
- If walletd shows unhealthy, check logs and confirm
fvkandstarting_heightare set correctly
If you prefer to build and publish your own server and walletd images, follow these steps.
- Build images locally (from the repo root):
docker build -f docker/Dockerfile-server -t YOUR_DOCKERHUB_USERNAME/pirate_btcpay_server:YOUR_TAG .
docker build -f docker/Dockerfile-walletd -t YOUR_DOCKERHUB_USERNAME/pirate_btcpay_walletd:YOUR_TAG .
- Publish images to Docker Hub (or your registry):
docker login
docker push YOUR_DOCKERHUB_USERNAME/pirate_btcpay_server:YOUR_TAG
docker push YOUR_DOCKERHUB_USERNAME/pirate_btcpay_walletd:YOUR_TAG
- Point compose to your images by editing
docker/docker-compose.yml:
- Replace the
image:lines underserverandwalletdwith your image names and tags.
server:
image: YOUR_DOCKERHUB_USERNAME/pirate_btcpay_server:YOUR_TAG
# ...
walletd:
image: YOUR_DOCKERHUB_USERNAME/pirate_btcpay_walletd:YOUR_TAG
# ...- Apply changes:
docker compose up -d default
Note: The compose file currently defaults to kardingson/pirate_btcpay_server:latest and
kardingson/pirate_btcpay_walletd:v0.1.1. Overwrite these with your own names/tags as shown above.