citadel-apps/apps/btcpay-server/app.yml

81 lines
2.7 KiB
YAML
Raw Normal View History

# SPDX-FileCopyrightText: 2021 Citadel and contributors
#
# SPDX-License-Identifier: AGPL-3.0-or-later
2022-02-11 13:37:58 +00:00
# yaml-language-server: $schema=../../app-standard-v2.json
version: 2
metadata:
category: Payments
name: BTCPay Server
2022-02-21 08:11:39 +00:00
version: 1.4.6
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. "
developer: BTCPay Server Foundation
website: https://btcpayserver.org
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-02-11 13:37:58 +00:00
image: nicolasdorier/nbxplorer:2.2.20@sha256:8f0e7f68513596e0a2555990d262169088a70204abe397bf18ba921f9b0608f3
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
data:
- data/nbxplorer:/data
permissions:
- bitcoind
2022-02-11 13:37:58 +00:00
- name: main
2022-02-21 08:11:39 +00:00
image: btcpayserver/btcpayserver:1.4.6@sha256:e9c8a0f30bd35d08df9ce0064700bed97b509968acc06227edf78c6906b0e5a9
port: 1234
depends_on:
- nbxplorer
- postgres
entrypoint:
- dotnet
- BTCPayServer.dll
environment:
HOME: /data
BTCPAY_DATADIR: /data
BTCPAY_PLUGINDIR: /data/plugins
BTCPAY_DOCKERDEPLOYMENT: "false"
BTCPAY_POSTGRES: User
ID=postgres;Host=$APP_BTCPAY_SERVER_POSTGRES_IP;Port=5432;Database=btcpayserver$BITCOIN_NETWORK
BTCPAY_NETWORK: $BITCOIN_NETWORK
BTCPAY_BIND: 0.0.0.0:1234
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
permissions:
- lnd
user: 1000:1000
- name: postgres
image: postgres:14.1-bullseye@sha256:1fe27b334443793af98d7eb320ad6f9f30fcc9bc068f545cb46ec01cefe9c8ee
user: 1000:1000
environment:
POSTGRES_HOST_AUTH_METHOD: trust
data:
- data/postgres:/var/lib/postgresql/data