484 lines
24 KiB
YAML
484 lines
24 KiB
YAML
captainVersion: 4
|
|
services:
|
|
$$cap_appname:
|
|
caproverExtra:
|
|
containerHttpPort: $$cap_BTCPAY_PORT
|
|
image: btcpayserver/btcpayserver:$$cap_BTCPAYSERVER_VERSION
|
|
hostname: $$cap_appname.$$cap_root_domain
|
|
environment:
|
|
BTCPAY_HOST: $$cap_appname.$$cap_root_domain
|
|
BTCPAY_POSTGRES: User ID=$$cap_POSTGRES_USER;Host=srv-captain--$$cap_appname-postgres;Port=$$cap_POSTGRES_PORT;Application Name=btcpayserver;Database=btcpayserver$$cap_NBITCOIN_NETWORK
|
|
BTCPAY_EXPLORERPOSTGRES: User ID=$$cap_POSTGRES_USER;Host=srv-captain--$$cap_appname-postgres;Port=$$cap_POSTGRES_PORT;Application Name=btcpayserver;MaxPoolSize=80;Database=nbxplorer$$cap_NBITCOIN_NETWORK
|
|
BTCPAY_NETWORK: $$cap_NBITCOIN_NETWORK
|
|
BTCPAY_BIND: $$cap_BIND_ADDRESS:$$cap_BTCPAY_PORT
|
|
BTCPAY_ROOTPATH: $$cap_BTCPAY_ROOTPATH
|
|
BTCPAY_DEBUGLOG: $$cap_BTCPAY_DEBUGLOG
|
|
BTCPAY_UPDATEURL: $$cap_BTCPAY_UPDATEURL
|
|
BTCPAY_DOCKERDEPLOYMENT: 'true'
|
|
BTCPAY_CHAINS: $$cap_USED_CHAIN
|
|
BTCPAY_BTCEXPLORERURL: http://srv-captain--$$cap_appname-nbxplorer:$$cap_NBXPLORER_PORT/
|
|
BTCPAY_BTCLIGHTNING: type=lnd-rest;server=http://srv-captain--$$cap_appname-lnd:$$cap_LND_REST_LISTEN_PORT/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;allowinsecure=true
|
|
BTCPAY_BTCEXTERNALLNDGRPC: server=/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin
|
|
BTCPAY_BTCEXTERNALLNDREST: server=/lnd-rest/btc/;macaroonfilepath=/etc/lnd_bitcoin/admin.macaroon;macaroondirectorypath=/etc/lnd_bitcoin
|
|
BTCPAY_BTCEXTERNALLNDSEEDBACKUP: /etc/lnd_bitcoin/data/chain/bitcoin/$$cap_NBITCOIN_NETWORK/walletunlock.json
|
|
BTCPAY_BTCEXTERNALTHUNDERHUB: server=/thub/sso;cookiefile=/etc/lnd_bitcoin_thub_datadir/.cookie
|
|
depends_on:
|
|
- $$cap_appname-postgres
|
|
volumes:
|
|
- $$cap_appname-data:/datadir
|
|
- $$cap_appname-nbxplorer-data:/root/.nbxplorer
|
|
- $$cap_appname-plugins:/root/.btcpayserver/Plugins
|
|
- $$cap_appname-lnd-data:/etc/lnd_bitcoin
|
|
- $$cap_appname-thub-data:/etc/lnd_bitcoin_thub_datadir
|
|
|
|
$$cap_appname-postgres:
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
dockerfileLines:
|
|
- FROM btcpayserver/postgres:$$cap_POSTGRES_VERSION
|
|
- CMD ["-c", "random_page_cost=1.0", "-c", "shared_preload_libraries=pg_stat_statements"]
|
|
environment:
|
|
POSTGRES_HOST_AUTH_METHOD: $$cap_POSTGRES_HOST_AUTH_METHOD
|
|
volumes:
|
|
- $$cap_appname-postgres:/var/lib/postgresql/data
|
|
|
|
$$cap_appname-nbxplorer:
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
image: nicolasdorier/nbxplorer:$$cap_NBXPLORER_VERSION
|
|
environment:
|
|
NBXPLORER_NETWORK: $$cap_NBITCOIN_NETWORK
|
|
NBXPLORER_BIND: $$cap_BIND_ADDRESS:$$cap_NBXPLORER_PORT
|
|
NBXPLORER_TRIMEVENTS: $$cap_NBXPLORER_TRIMEVENTS
|
|
NBXPLORER_SIGNALFILESDIR: $$cap_NBXPLORER_SIGNALFILESDIR
|
|
NBXPLORER_POSTGRES: User ID=$$cap_POSTGRES_USER;Host=srv-captain--$$cap_appname-postgres;Port=$$cap_POSTGRES_PORT;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer$$cap_NBITCOIN_NETWORK
|
|
NBXPLORER_AUTOMIGRATE: $$cap_NBXPLORER_AUTOMIGRATE
|
|
NBXPLORER_NOMIGRATEEVTS: $$cap_NBXPLORER_NOMIGRATEEVTS
|
|
NBXPLORER_CHAINS: $$cap_USED_CHAIN
|
|
NBXPLORER_BTCRPCURL: http://srv-captain--$$cap_appname-bitcoind:$$cap_BITCOIN_RPC_PORT/
|
|
NBXPLORER_BTCNODEENDPOINT: srv-captain--$$cap_appname-bitcoind:$$cap_BITCOIN_NODE_PORT
|
|
depends_on:
|
|
- $$cap_appname-postgres
|
|
volumes:
|
|
- $$cap_appname-nbxplorer-data:/datadir
|
|
- $$cap_appname-bitcoind-data:/root/.bitcoin
|
|
|
|
$$cap_appname-bitcoind:
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
image: btcpayserver/bitcoin:$$cap_BITCOIN_VERSION
|
|
environment:
|
|
BITCOIN_NETWORK: $$cap_NBITCOIN_NETWORK
|
|
BITCOIN_WALLETDIR: $$cap_BITCOIN_WALLETDIR
|
|
BITCOIN_EXTRA_ARGS: |
|
|
rpcport=$$cap_BITCOIN_RPC_PORT
|
|
rpcbind=$$cap_BIND_ADDRESS:$$cap_BITCOIN_RPC_PORT
|
|
rpcallowip=$$cap_BIND_ADDRESS/$$cap_BITCOIN_IP_ALLOWLIST_CIDR
|
|
port=$$cap_BITCOIN_NODE_PORT
|
|
whitelist=$$cap_BIND_ADDRESS/$$cap_BITCOIN_IP_ALLOWLIST_CIDR
|
|
maxmempool=$$cap_BITCOIN_MAX_MEMPOOL
|
|
prune=$$cap_BITCOIN_PRUNE
|
|
zmqpubrawblock=tcp://$$cap_BIND_ADDRESS:$$cap_BITCOIN_RAW_BLOCK_PUBLICATION_PORT
|
|
zmqpubrawtx=tcp://$$cap_BIND_ADDRESS:$$cap_BITCOIN_RAW_TRANSACTION_PUBLICATION_PORT
|
|
zmqpubhashblock=tcp://$$cap_BIND_ADDRESS:$$cap_BITCOIN_BLOCK_HASH_PUBLICATION_PORT
|
|
rpcauth=$$cap_LND_BITCOIN_RPC_USER:$$cap_LND_BITCOIN_RPC_HASHED_PASSWORD
|
|
$$cap_BITCOIN_ADDITIONAL_ARGUMENTS
|
|
volumes:
|
|
- $$cap_appname-bitcoind-wallet-data:/walletdata
|
|
- $$cap_appname-bitcoind-data:/data
|
|
|
|
$$cap_appname-lnd:
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
image: btcpayserver/lnd:$$cap_LND_VERSION
|
|
environment:
|
|
LND_CHAIN: $$cap_USED_CHAIN
|
|
LND_EXTERNALIP: $$cap_appname.$$cap_root_domain
|
|
LND_PORT: $$cap_LND_PORT
|
|
LND_ALIAS: $$cap_LND_ALIAS
|
|
LND_ENVIRONMENT: $$cap_NBITCOIN_NETWORK
|
|
LND_READY_FILE: $$cap_LND_READY_FILE
|
|
LND_REST_LISTEN_HOST: http://srv-captain--$$cap_appname-lnd:$$cap_LND_REST_LISTEN_PORT
|
|
LND_HOST_FOR_LOOP: $$cap_LOOPBACK_ADDRESS:$$cap_LND_LOOP_LISTEN_PORT
|
|
LND_EXTRA_ARGS: |
|
|
restlisten=srv-captain--$$cap_appname-lnd:$$cap_LND_REST_LISTEN_PORT
|
|
rpclisten=$$cap_LOOPBACK_ADDRESS:$$cap_LND_RPC_LISTEN_PORT
|
|
rpclisten=srv-captain--$$cap_appname-lnd:$$cap_LND_LOOP_LISTEN_PORT
|
|
rpclisten=$$cap_LOOPBACK_ADDRESS:$$cap_LND_LOOP_LISTEN_PORT
|
|
bitcoin.node=srv-captain--$$cap_appname-bitcoind
|
|
bitcoind.rpchost=srv-captain--$$cap_appname-bitcoind:$$cap_BITCOIN_RPC_PORT
|
|
bitcoind.rpcuser=$$cap_LND_BITCOIN_RPC_USER
|
|
bitcoind.rpcpass=$$cap_LND_BITCOIN_RPC_PASSWORD
|
|
bitcoind.zmqpubrawblock=tcp://srv-captain--$$cap_appname-bitcoind:$$cap_BITCOIN_RAW_BLOCK_PUBLICATION_PORT
|
|
bitcoind.zmqpubrawtx=tcp://srv-captain--$$cap_appname-bitcoind:$$cap_BITCOIN_RAW_TRANSACTION_PUBLICATION_PORT
|
|
adminmacaroonpath=$$cap_LND_ADMIN_MACAROON_PATH
|
|
invoicemacaroonpath=$$cap_LND_INVOICE_MACAROON_PATH
|
|
readonlymacaroonpath=$$cap_LND_READ_ONLY_MACAROON_PATH
|
|
tlsextradomain=srv-captain--$$cap_appname-lnd
|
|
no-rest-tls=$$cap_LND_NO_REST_TLS
|
|
protocol.wumbo-channels=$$cap_LND_WUMBO_CHANNELS
|
|
autopilot.active=$$cap_LND_AUTOPILOT_ACTIVE
|
|
autopilot.maxchannels=$$cap_LND_AUTOPILOT_MAXIMUM_CHANNELS
|
|
autopilot.allocation=$$cap_LND_AUTOPILOT_ALLOCATION
|
|
$$cap_LND_ADDITIONAL_ARGUMENTS
|
|
depends_on:
|
|
- $$cap_appname-bitcoind
|
|
ports:
|
|
- $$cap_LND_PORT:$$cap_LND_PORT
|
|
volumes:
|
|
- $$cap_appname-lnd-data:/data
|
|
- $$cap_appname-lnd-loop-bitcoin-data:/root/.loop/$$cap_NBITCOIN_NETWORK
|
|
- $$cap_appname-bitcoind-data:/deps/.bitcoin
|
|
- $$cap_appname-nbxplorer-data:/root/.nbxplorer
|
|
|
|
$$cap_appname-thub:
|
|
caproverExtra:
|
|
notExposeAsWebApp: 'true'
|
|
image: apotdevin/thunderhub:$$cap_THUB_VERSION
|
|
environment:
|
|
NO_VERSION_CHECK: $$cap_THUB_NO_VERSION_CHECK
|
|
COOKIE_PATH: $$cap_THUB_COOKIE_PATH
|
|
ACCOUNT_CONFIG_PATH: $$cap_THUB_ACCOUNT_CONFIG_PATH
|
|
SSO_SERVER_URL: srv-captain--$$cap_appname-lnd:$$cap_LND_LOOP_LISTEN_PORT
|
|
SSO_MACAROON_PATH: $$cap_THUB_SSO_MACAROON_PATH
|
|
SSO_CERT_PATH: $$cap_THUB_SSO_CERT_PATH
|
|
NO_CLIENT_ACCOUNTS: $$cap_THUB_NO_CLIENT_ACCOUNTS
|
|
LOG_LEVEL: $$cap_THUB_LOG_LEVEL
|
|
LOGOUT_URL: $$cap_THUB_LOGOUT_URL
|
|
volumes:
|
|
- $$cap_appname-lnd-data:/etc/lnd
|
|
- $$cap_appname-thub-data:/data
|
|
depends_on:
|
|
- $$cap_appname-lnd
|
|
|
|
caproverOneClickApp:
|
|
instructions:
|
|
start: |-
|
|
BTCPay Server is a free, open-source & self-hosted bitcoin payment gateway.
|
|
It allows self-sovereign individuals and businesses to accept bitcoin payments online or in person without any fees.
|
|
|
|
This will deploy:
|
|
- BTCPay Server application
|
|
- `bitcoind` as Bitcoin full node (pruned to 50 GB by default)
|
|
- `lnd` as Lightning node
|
|
- `thunderhub` for managing the Lightning node
|
|
|
|
Please note that features like SSH access and Onion service have been omitted to keep deployment simple.
|
|
You may need to open the port `9735` in your firewall.
|
|
end: |-
|
|
BTCPay Server has been successfully deployed!
|
|
Please change the following settings before using the service:
|
|
1. Go to the settings for `$$cap_appname`
|
|
2. Enable **Websocket Support**
|
|
3. Enable **HTTPS**
|
|
4. Click on **Edit Default Nginx Configurations** and paste the following content before the last closing bracket "}":
|
|
```
|
|
location ~* ^/(lnrpc|routerrpc)\. {
|
|
grpc_read_timeout 6000s;
|
|
grpc_send_timeout 6000s;
|
|
grpc_pass grpcs://srv-captain--$$cap_appname-lnd:$$cap_LND_LOOP_LISTEN_PORT;
|
|
}
|
|
location /lnd-rest/btc/ {
|
|
rewrite ^/lnd-rest/btc/(.*) /$1 break;
|
|
proxy_pass http://srv-captain--$$cap_appname-lnd:$$cap_LND_REST_LISTEN_PORT/;
|
|
}
|
|
|
|
location /thub {
|
|
proxy_pass http://srv-captain--$$cap_appname-thub:3000/thub;
|
|
}
|
|
```
|
|
Now you can access it at `https://$$cap_appname.$$cap_root_domain`
|
|
It will take some time to synchronize the Bitcoin full node.
|
|
You should also observe the app logs from time to time.
|
|
displayName: BTCPay Server
|
|
isOfficial: true
|
|
description: Free, open-source & self-hosted, Bitcoin payment processor.
|
|
documentation: https://docs.btcpayserver.org
|
|
variables:
|
|
- id: $$cap_BIND_ADDRESS
|
|
label: General | Bind Address
|
|
description: Address to bind the services.
|
|
defaultValue: '0.0.0.0'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LOOPBACK_ADDRESS
|
|
label: General | Loopback Address
|
|
description: Loopback address. Should not be changed.
|
|
defaultValue: '127.0.0.1'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BTCPAYSERVER_VERSION
|
|
label: General | BTCPay Server Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/btcpayserver/btcpayserver/tags
|
|
defaultValue: '1.6.11'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_POSTGRES_VERSION
|
|
label: General | PostgreSQL Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/btcpayserver/postgres/tags
|
|
defaultValue: '13.7'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBXPLORER_VERSION
|
|
label: General | NBXplorer Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/nicolasdorier/nbxplorer/tags
|
|
defaultValue: '2.3.38'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_VERSION
|
|
label: General | Bitcoin Node Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/btcpayserver/bitcoin/tags
|
|
defaultValue: '23.0'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_VERSION
|
|
label: General | Lightning Node Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/btcpayserver/lnd/tags
|
|
defaultValue: v0.15.0-beta
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_VERSION
|
|
label: General | Thunderhub Version
|
|
description: Check out their valid tags at https://hub.docker.com/r/apotdevin/thunderhub/tags
|
|
defaultValue: base-v0.13.11@sha256:248db7508af8d1563f3afdbaec2ffd62e6f1868e30f8f1c3bb514bf8633c44f9
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBITCOIN_NETWORK
|
|
label: General | Network Type
|
|
description: The type of Bitcoin network to use (e.g. `mainnet`, `testnet`, or `regtest`)
|
|
defaultValue: mainnet
|
|
validRegex: /^(mainnet|testnet|regtest|simnet)$/
|
|
- id: $$cap_USED_CHAIN
|
|
label: Explorer | Chain
|
|
description: Blockchain to be used. Defaults is `btc` and should **not** be changed.
|
|
defaultValue: btc
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_POSTGRES_PORT
|
|
label: Database | Port
|
|
description: Port of the PostgreSQL database host.
|
|
defaultValue: 5432
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_POSTGRES_USER
|
|
label: Database | User
|
|
description: User of the PostgreSQL database.
|
|
defaultValue: postgres
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_POSTGRES_HOST_AUTH_METHOD
|
|
label: Database | Authentication Method
|
|
description: Method of authentication for incoming connections in PostgreSQL.
|
|
defaultValue: trust
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BTCPAY_ROOTPATH
|
|
label: Application | Root Path
|
|
description: Root path of the application.
|
|
defaultValue: /
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BTCPAY_PORT
|
|
label: Application | Port
|
|
description: Port of the application host.
|
|
defaultValue: 49392
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BTCPAY_DEBUGLOG
|
|
label: Application | Debug Log
|
|
description: Log file for debugging information.
|
|
defaultValue: btcpay.log
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BTCPAY_UPDATEURL
|
|
label: Application | Update URL
|
|
description: URL to BTCPay Server releases.
|
|
defaultValue: https://api.github.com/repos/btcpayserver/btcpayserver/releases/latest
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBXPLORER_PORT
|
|
label: Explorer | Port
|
|
description: Port of the NBXplorer host.
|
|
defaultValue: 32838
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBXPLORER_TRIMEVENTS
|
|
label: Explorer | Trim Events
|
|
description: Trim the amount of events in NBXplorer.
|
|
defaultValue: 10000
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBXPLORER_SIGNALFILESDIR
|
|
label: Explorer | Signal Files Directory
|
|
description: Path to signal files directory in NBXplorer.
|
|
defaultValue: /datadir
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_NBXPLORER_AUTOMIGRATE
|
|
label: Explorer | Automatic Migrations
|
|
description: Whether to enable automatic migrations.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_NBXPLORER_NOMIGRATEEVTS
|
|
label: Explorer | Event Migrations
|
|
description: Whether to disable event migrations.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_BITCOIN_RPC_PORT
|
|
label: Bitcoin Node | RPC Port
|
|
description: Port of Bitcoin node RPC.
|
|
defaultValue: 43782
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_NODE_PORT
|
|
label: Bitcoin Node | Node Port
|
|
description: Port of Bitcoin node endpoint.
|
|
defaultValue: 39388
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_WALLETDIR
|
|
label: Bitcoin Node | Wallet Directory
|
|
description: Path to wallet files directory of the Bitcoin node.
|
|
defaultValue: /walletdata
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_MAX_MEMPOOL
|
|
label: Bitcoin Node | Maximum Mempool Size
|
|
description: Maximum Bitcoin node mempool size in megabytes.
|
|
defaultValue: 500
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_IP_ALLOWLIST_CIDR
|
|
label: Bitcoin Node | Allowlist Subnet
|
|
description: Whitelist IP subnet using CIDR notation for the Bitcoin node.
|
|
defaultValue: '0'
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_PRUNE
|
|
label: Bitcoin Node | Prune
|
|
description: |-
|
|
Configure a disk space on stored blocks of the Bitcoin node, denoted in megabytes.
|
|
Default is 50 gigabytes, this will keep around 6 months of blocks.
|
|
defaultValue: 50000
|
|
- id: $$cap_BITCOIN_ADDITIONAL_ARGUMENTS
|
|
label: Bitcoin Node | Additional Arguments
|
|
description: Additional Bitcoin node startup arguments.
|
|
- id: $$cap_BITCOIN_RAW_BLOCK_PUBLICATION_PORT
|
|
label: Bitcoin Node | Raw Block Publication Port
|
|
description: Port of raw block information publisher.
|
|
defaultValue: 28332
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_RAW_TRANSACTION_PUBLICATION_PORT
|
|
label: Bitcoin Node | Raw Transaction Publication Port
|
|
description: Port of raw transaction information publisher.
|
|
defaultValue: 28333
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_BITCOIN_BLOCK_HASH_PUBLICATION_PORT
|
|
label: Bitcoin Node | Block Hash Publication Port
|
|
description: Port of block hash information publisher.
|
|
defaultValue: 28334
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_PORT
|
|
label: Lightning Node | Port
|
|
description: Port of the Lightning node.
|
|
defaultValue: 9735
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_ALIAS
|
|
label: Lightning Node | Alias
|
|
description: An alias for your Lightning node.
|
|
defaultValue: my-awesome-node-$$cap_gen_random_hex(32)
|
|
- id: $$cap_LND_READY_FILE
|
|
label: Lightning Node | Ready File
|
|
description: Path to Bitcoin node ready status indicator file in the Lightning node.
|
|
defaultValue: /root/.nbxplorer/btc_fully_synched
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_REST_LISTEN_PORT
|
|
label: Lightning Node | REST API Listening Port
|
|
description: Port of the REST API listener in the Lightning node.
|
|
defaultValue: 8080
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_RPC_LISTEN_PORT
|
|
label: Lightning Node | RPC Listening Port
|
|
description: Port of the RPC listener in the Lightning node.
|
|
defaultValue: 10008
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_LOOP_LISTEN_PORT
|
|
label: Lightning Node | Loop Listening Port
|
|
description: Port of the loop listener in the Lightning node.
|
|
defaultValue: 10009
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_BITCOIN_RPC_USER
|
|
label: Lightning Node | Bitcoin Node RPC User
|
|
description: Lightning node RPC user name which talks to the Bitcoin node.
|
|
defaultValue: lnd
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_BITCOIN_RPC_PASSWORD
|
|
label: Lightning Node | Bitcoin Node RPC Password
|
|
description: Password of Lightning node RPC user that talks to the Bitcoin node.
|
|
defaultValue: afixedpasswordbecauselndsuckswithcookiefile
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_BITCOIN_RPC_HASHED_PASSWORD
|
|
label: Lightning Node | Bitcoin Node RPC Hashed Password
|
|
description: Hashed password of Lightning node RPC user that talks to the Bitcoin node.
|
|
defaultValue: d031f7567c5b02ba95524170e51c77f4$827ce5412f653d6613c2f480e521eb437c866b999bdeb2ee4f9c41d3b00dff1c
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_ADMIN_MACAROON_PATH
|
|
label: Lightning Node | Administrator Macaroon Path
|
|
description: Path to administrator macaroon file in the Lightning node.
|
|
defaultValue: /data/admin.macaroon
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_INVOICE_MACAROON_PATH
|
|
label: Lightning Node | Invoice Macaroon Path
|
|
description: Path to invoice macaroon file in the Lightning node.
|
|
defaultValue: /data/invoice.macaroon
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_READ_ONLY_MACAROON_PATH
|
|
label: Lightning Node | Read-Only Macaroon Path
|
|
description: Path to read-only macaroon file in the Lightning node.
|
|
defaultValue: /data/readonly.macaroon
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_NO_REST_TLS
|
|
label: Lightning Node | Disable TLS For REST API
|
|
description: Whether to disable TLS for REST API calls in the Lightning node.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_LND_WUMBO_CHANNELS
|
|
label: Lightning Node | Wumbo Channels
|
|
description: Whether to use Wumbo channels in the Lightning node.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_LND_AUTOPILOT_ACTIVE
|
|
label: Lightning Node | Autopilot
|
|
description: Whether to use Autopilot in the Lightning node to automatically open and manage channels with peers.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_LND_AUTOPILOT_MAXIMUM_CHANNELS
|
|
label: Lightning Node | Autopilot Maximum Channels
|
|
description: Maximum amount of channels managed by Autopilot in the Lightning node. Only used when Autopilot is enabled.
|
|
defaultValue: 5
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_AUTOPILOT_ALLOCATION
|
|
label: Lightning Node | Autopilot Allocation
|
|
description: Allocation rate for Autopilot in the Lightning node. For example `0` means 0%, `0.5` means 50% and `1` means 100%. Only used when Autopilot is enabled.
|
|
defaultValue: 0.6
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_LND_ADDITIONAL_ARGUMENTS
|
|
label: Lightning Node | Additional Arguments
|
|
description: Additional Lightning node startup arguments.
|
|
- id: $$cap_THUB_NO_VERSION_CHECK
|
|
label: Lightning Node Manager | Disable Version Checking
|
|
description: Whether to skip version checking in the Lightning node manager.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_THUB_COOKIE_PATH
|
|
label: Lightning Node Manager | Cookie
|
|
description: Path to the cookie file in the Lightning node manager.
|
|
defaultValue: /data/.cookie
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_ACCOUNT_CONFIG_PATH
|
|
label: Lightning Node Manager | Account Configuration
|
|
description: Path to the account configuration file in the Lightning node manager.
|
|
defaultValue: /data/thubConfig.yaml
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_SSO_MACAROON_PATH
|
|
label: Lightning Node Manager | Single-Sign-On Macaroon
|
|
description: Path to the single-sign-on macaroon file in the Lightning node manager.
|
|
defaultValue: /etc/lnd
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_SSO_CERT_PATH
|
|
label: Lightning Node Manager | Single-Sign-On TLS Certificate
|
|
description: Path to the single-sign-on TLS certificate file in the Lightning node manager.
|
|
defaultValue: /etc/lnd/tls.cert
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_NO_CLIENT_ACCOUNTS
|
|
label: Lightning Node Manager | Disable Client Accounts
|
|
description: Whether to disable client accounts in the Lightning node manager.
|
|
defaultValue: 'true'
|
|
validRegex: /^(true|false)$/
|
|
- id: $$cap_THUB_LOG_LEVEL
|
|
label: Lightning Node Manager | Log Level
|
|
description: Log severity in the Lightning node manager.
|
|
defaultValue: debug
|
|
validRegex: /.{1,}/
|
|
- id: $$cap_THUB_LOGOUT_URL
|
|
label: Lightning Node Manager | Logout URL
|
|
description: Logout URL in the Lightning node manager.
|
|
defaultValue: /server/services/thunderhub/BTC
|
|
validRegex: /.{1,}/
|