2021-12-23 12:27:47 +00:00
|
|
|
# SPDX-FileCopyrightText: 2021 Citadel and contributors
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
2022-04-07 16:25:31 +00:00
|
|
|
# yaml-language-server: $schema=../../app-standard-v3.yml
|
|
|
|
|
|
|
|
version: 3
|
2021-12-23 12:27:47 +00:00
|
|
|
metadata:
|
|
|
|
category: Payments
|
|
|
|
name: BTCPay Server
|
2022-07-08 08:15:00 +00:00
|
|
|
version: 1.6.0
|
2022-01-27 15:08:45 +00:00
|
|
|
tagline: Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin
|
|
|
|
payment processor.
|
|
|
|
description: "BTCPay Server is a free and open-source Bitcoin payment processor
|
|
|
|
which allows you to accept bitcoin without fees or intermediaries. "
|
2022-05-19 00:58:46 +00:00
|
|
|
developers:
|
2022-04-09 20:00:56 +00:00
|
|
|
BTCPay Server Foundation: https://btcpayserver.org
|
2021-12-23 12:27:47 +00:00
|
|
|
dependencies:
|
|
|
|
- lnd
|
|
|
|
- bitcoind
|
|
|
|
repo: https://github.com/btcpayserver/btcpayserver
|
|
|
|
support: https://chat.btcpayserver.org
|
|
|
|
gallery:
|
|
|
|
- 1.jpg
|
|
|
|
- 2.jpg
|
|
|
|
- 3.jpg
|
|
|
|
containers:
|
|
|
|
- name: nbxplorer
|
2022-04-26 19:15:05 +00:00
|
|
|
image: nicolasdorier/nbxplorer:2.3.19@sha256:f12c8fddef6a8a1faf2ad16e0b0e0120e85520695f6b6c2dd55d61461dce0bb6
|
2021-12-23 12:27:47 +00:00
|
|
|
user: 1000:1000
|
|
|
|
environment:
|
|
|
|
NBXPLORER_DATADIR: /data
|
|
|
|
NBXPLORER_NETWORK: $BITCOIN_NETWORK
|
|
|
|
NBXPLORER_PORT: 32838
|
|
|
|
NBXPLORER_BIND: 0.0.0.0
|
|
|
|
NBXPLORER_CHAINS: btc
|
|
|
|
NBXPLORER_SIGNALFILEDIR: /data
|
|
|
|
NBXPLORER_BTCRPCURL: http://$BITCOIN_IP:$BITCOIN_RPC_PORT
|
|
|
|
NBXPLORER_BTCNODEENDPOINT: $BITCOIN_IP:$BITCOIN_P2P_PORT
|
|
|
|
NBXPLORER_BTCRPCUSER: $BITCOIN_RPC_USER
|
|
|
|
NBXPLORER_BTCRPCPASSWORD: $BITCOIN_RPC_PASS
|
2022-05-19 00:58:46 +00:00
|
|
|
NBXPLORER_POSTGRES: User
|
|
|
|
ID=postgres;Host=$APP_BTCPAY_SERVER_POSTGRES_IP;Port=5432;Application
|
|
|
|
Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer${BITCOIN_NETWORK}
|
2022-04-28 15:02:05 +00:00
|
|
|
NBXPLORER_AUTOMIGRATE: 1
|
|
|
|
NBXPLORER_NOMIGRATEEVTS: 1
|
2021-12-23 12:27:47 +00:00
|
|
|
data:
|
|
|
|
- data/nbxplorer:/data
|
2022-02-11 13:37:58 +00:00
|
|
|
- name: main
|
2022-07-08 08:15:00 +00:00
|
|
|
image: btcpayserver/btcpayserver:1.6.0@sha256:8b8db78729d4bf62bff0e15f18b65e4f92c2d02f8c0b9608257dd5b9ab7df408
|
2021-12-23 12:27:47 +00:00
|
|
|
depends_on:
|
|
|
|
- nbxplorer
|
|
|
|
- postgres
|
|
|
|
entrypoint:
|
|
|
|
- dotnet
|
|
|
|
- BTCPayServer.dll
|
|
|
|
environment:
|
|
|
|
HOME: /data
|
|
|
|
BTCPAY_DATADIR: /data
|
|
|
|
BTCPAY_PLUGINDIR: /data/plugins
|
|
|
|
BTCPAY_DOCKERDEPLOYMENT: "false"
|
|
|
|
BTCPAY_POSTGRES: User
|
2022-05-19 00:58:46 +00:00
|
|
|
ID=postgres;Host=$APP_BTCPAY_SERVER_POSTGRES_IP;Port=5432;Application
|
|
|
|
Name=btcpayserver;Database=btcpayserver$BITCOIN_NETWORK
|
2021-12-23 12:27:47 +00:00
|
|
|
BTCPAY_NETWORK: $BITCOIN_NETWORK
|
2022-04-26 13:38:06 +00:00
|
|
|
BTCPAY_BIND: 0.0.0.0:$APP_BTCPAY_SERVER_MAIN_PORT
|
2021-12-23 12:27:47 +00:00
|
|
|
BTCPAY_CHAINS: btc
|
|
|
|
BTCPAY_BTCEXPLORERURL: http://$APP_BTCPAY_SERVER_NBXPLORER_IP:32838
|
|
|
|
BTCPAY_BTCLIGHTNING: type=lnd-rest;server=https://$LND_IP:$LND_REST_PORT/;macaroonfilepath=/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon;allowinsecure=true
|
|
|
|
BTCPAY_SOCKSENDPOINT: $TOR_PROXY_IP:$TOR_PROXY_PORT
|
|
|
|
data:
|
|
|
|
- data/nbxplorer:/data/.nbxplorer
|
|
|
|
- data/btcpay:/data
|
|
|
|
user: 1000:1000
|
|
|
|
- name: postgres
|
2022-04-26 19:15:05 +00:00
|
|
|
image: ghcr.io/runcitadel/postgres:main@sha256:8f25afe966a63fd3f11a1052e73f30b9de5ddc0876bebaaf944d485374c73c01
|
2022-04-26 19:31:29 +00:00
|
|
|
user: 1000:1000
|
2021-12-23 12:27:47 +00:00
|
|
|
environment:
|
|
|
|
POSTGRES_HOST_AUTH_METHOD: trust
|
|
|
|
data:
|
|
|
|
- data/postgres:/var/lib/postgresql/data
|