Browse Source

Merge pull request #86 from ChekaZ/master

Support for Trezarcoin and Bitcoinplus
feature/auto_ssh
Nicolas Dorier 6 years ago
committed by GitHub
parent
commit
a89f8d9b24
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      bitcoinplus-cli.ps1
  2. 3
      bitcoinplus-cli.sh
  3. 35
      docker-compose-generator/docker-fragments/bitcoinplus.yml
  4. 35
      docker-compose-generator/docker-fragments/trezarcoin.yml
  5. 1
      trezarcoin-cli.ps1
  6. 3
      trezarcoin-cli.sh

1
bitcoinplus-cli.ps1

@ -0,0 +1 @@
docker exec -ti btcpayserver_bitcoinplusd bitcoinplus-cli -datadir="/data" $args

3
bitcoinplus-cli.sh

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -ti btcpayserver_bitcoinplusd bitcoinplus-cli -datadir="/data" "$@"

35
docker-compose-generator/docker-fragments/bitcoinplus.yml

@ -0,0 +1,35 @@
version: "3"
services:
bitcoinplusd:
restart: unless-stopped
container_name: btcpayserver_bitcoinplusd
image: chekaz/docker-bitcoinplus:2.7.0
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "bitcoinplus_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "xbc"
NBXPLORER_XBCRPCURL: http://bitcoinplusd:43782/
NBXPLORER_XBCNODEENDPOINT: bitcoinplusd:39388
NBXPLORER_XBCRPCUSER: "NBXPLORER_XBCRPCUSER"
NBXPLORER_XBCRPCPASSWORD: "NBXPLORER_XBCRPCPASS"
links:
- bitcoinplusd
volumes:
- "bitcoinplus_datadir:/root/.bitcoinplus"
btcpayserver:
environment:
BTCPAY_CHAINS: "xbc"
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
volumes:
bitcoinplus_datadir:

35
docker-compose-generator/docker-fragments/trezarcoin.yml

@ -0,0 +1,35 @@
version: "3"
services:
trezarcoind:
restart: unless-stopped
container_name: btcpayserver_trezarcoind
image: chekaz/docker-trezarcoin:0.13.0
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "trezarcoin_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "tzc"
NBXPLORER_TZCRPCURL: http://trezarcoind:43782/
NBXPLORER_TZCNODEENDPOINT: trezarcoind:39388
NBXPLORER_TZCRPCUSER: "NBXPLORER_TZCRPCUSER"
NBXPLORER_TZCRPCPASSWORD: "NBXPLORER_TZCRPCPASS"
links:
- trezarcoind
volumes:
- "trezarcoin_datadir:/root/.trezarcoin"
btcpayserver:
environment:
BTCPAY_CHAINS: "tzc"
BTCPAY_TZCEXPLORERURL: http://nbxplorer:32838/
volumes:
trezarcoin_datadir:

1
trezarcoin-cli.ps1

@ -0,0 +1 @@
docker exec -ti btcpayserver_trezarcoind trezarcoin-cli -datadir="/data" $args

3
trezarcoin-cli.sh

@ -0,0 +1,3 @@
#!/bin/bash
docker exec -ti btcpayserver_trezarcoind trezarcoin-cli -datadir="/data" "$@"
Loading…
Cancel
Save