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

107 lines
3.5 KiB
Plaintext
Raw Normal View History

2022-07-19 16:12:04 +00:00
# SPDX-FileCopyrightText: Citadel and contributors
#
2022-07-19 16:12:04 +00:00
# SPDX-License-Identifier: AGPL-3.0-only
2022-07-19 16:12:04 +00:00
# yaml-language-server: $schema=../../app-standard-v4.yml
citadel_version: 4
2022-04-07 16:25:31 +00:00
metadata:
category: Payments
name: BTCPay Server
2022-08-18 12:21:35 +00:00
version: 1.6.9
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
2022-07-19 16:12:04 +00:00
permissions:
{% if services is containing("lnd") %}
- lnd
2022-07-19 16:12:04 +00:00
{% elif services is containing("c-lightning") %}
- c-lightning
{% else %}
- - lnd
- c-lightning
{% endif %}
- bitcoind
2022-07-19 16:12:04 +00:00
repo:
Public: https://github.com/btcpayserver/btcpayserver
support: https://chat.btcpayserver.org
gallery:
- 1.jpg
- 2.jpg
- 3.jpg
2022-07-19 16:12:04 +00:00
services:
main:
port: 3000
2022-08-18 12:21:35 +00:00
image: btcpayserver/btcpayserver:1.6.9@sha256:1162bb6231cbdf0a8297107951afe8a44c60a86814d07454f24b4ccf05ba1f71
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
BTCPAY_NETWORK: $BITCOIN_NETWORK
BTCPAY_BIND: 0.0.0.0:3000
BTCPAY_CHAINS: btc
BTCPAY_BTCEXPLORERURL: http://$APP_BTCPAY_SERVER_NBXPLORER_IP:32838
2022-07-19 16:12:04 +00:00
{% if services is containing("lnd") %}
BTCPAY_BTCLIGHTNING: type=lnd-rest;server=https://$LND_IP:$LND_REST_PORT/;macaroonfilepath=/lnd/data/chain/bitcoin/$BITCOIN_NETWORK/admin.macaroon;allowinsecure=true
2022-07-19 16:12:04 +00:00
{% elif services is containing("c-lightning") %}
BTCPAY_BTCLIGHTNING: type=clightning;server=unix://c-lightning/bitcoin/lightning-rpc
{%endif %}
BTCPAY_SOCKSENDPOINT: $TOR_PROXY_IP:$TOR_PROXY_PORT
2022-07-19 16:12:04 +00:00
mounts:
2022-07-19 17:16:07 +00:00
{% if services is containing("lnd") %}
lnd: /lnd
{% elif services is containing("c-lightning") %}
2022-07-19 17:19:31 +00:00
c_lightning: /c-lightning
2022-07-19 17:16:07 +00:00
{%endif %}
2022-07-19 16:12:04 +00:00
data:
data/nbxplorer: /data/.nbxplorer
data/btcpay: /data
user: 1000:1000
2022-07-19 16:12:04 +00:00
nbxplorer:
depends_on:
- postgres
image: nicolasdorier/nbxplorer:2.3.28@sha256:62333c578aa85487f8f8e292b4a434272fd919ce8f2e58b2d23af6342dd92778
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
NBXPLORER_POSTGRES: User
ID=postgres;Host=$APP_BTCPAY_SERVER_POSTGRES_IP;Port=5432;Application
Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer${BITCOIN_NETWORK}
NBXPLORER_AUTOMIGRATE: "1"
NBXPLORER_NOMIGRATEEVTS: "1"
mounts:
data:
data/nbxplorer: /data
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
environment:
POSTGRES_HOST_AUTH_METHOD: trust
2022-07-19 16:12:04 +00:00
mounts:
data:
data/postgres: /var/lib/postgresql/data