mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 04:50:42 +02:00
add knots fragment
This commit is contained in:
parent
77f61eb386
commit
d1544cab0e
46
docker-compose-generator/docker-fragments/bitcoinknots.yml
Normal file
46
docker-compose-generator/docker-fragments/bitcoinknots.yml
Normal file
@ -0,0 +1,46 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
bitcoind:
|
||||
restart: unless-stopped
|
||||
container_name: btcpayserver_bitcoind
|
||||
image: ghcr.io/retropex/bitcoin:btcpay-28.1
|
||||
environment:
|
||||
BITCOIN_NETWORK: ${NBITCOIN_NETWORK:-regtest}
|
||||
CREATE_WALLET: "false"
|
||||
BITCOIN_WALLETDIR: "/walletdata"
|
||||
# rpcport and rpcbind seems duplicates, but they are not
|
||||
# rpcport is using by some tooling to automatically get
|
||||
# the rpcport from the configuration file. Do not remove!
|
||||
BITCOIN_EXTRA_ARGS: |
|
||||
rpcport=43782
|
||||
rpcbind=0.0.0.0:43782
|
||||
rpcallowip=0.0.0.0/0
|
||||
port=39388
|
||||
whitelist=0.0.0.0/0
|
||||
maxmempool=500
|
||||
expose:
|
||||
- "43782"
|
||||
- "39388"
|
||||
volumes:
|
||||
- "bitcoin_datadir:/data"
|
||||
- "bitcoin_wallet_datadir:/walletdata"
|
||||
nbxplorer:
|
||||
environment:
|
||||
NBXPLORER_CHAINS: "btc"
|
||||
NBXPLORER_BTCRPCURL: http://bitcoind:43782/
|
||||
NBXPLORER_BTCNODEENDPOINT: bitcoind:39388
|
||||
volumes:
|
||||
- "bitcoin_datadir:/root/.bitcoin"
|
||||
btcpayserver:
|
||||
environment:
|
||||
BTCPAY_CHAINS: "btc"
|
||||
BTCPAY_BTCEXPLORERURL: http://nbxplorer:32838/
|
||||
volumes:
|
||||
bitcoin_datadir:
|
||||
bitcoin_wallet_datadir:
|
||||
|
||||
exclusive:
|
||||
- bitcoin-node
|
||||
recommended:
|
||||
- "opt-mempoolfullrbf"
|
Loading…
Reference in New Issue
Block a user