diff --git a/docker-compose-generator/docker-fragments/feathercoin.yml b/docker-compose-generator/docker-fragments/feathercoin.yml new file mode 100644 index 0000000..313cdb4 --- /dev/null +++ b/docker-compose-generator/docker-fragments/feathercoin.yml @@ -0,0 +1,33 @@ +version: "3" + +services: + feathercoind: + restart: unless-stopped + container_name: btcpayserver_feathercoind + image: chekaz/docker-feathercoin:0.16.0 + environment: + BITCOIN_EXTRA_ARGS: | + rpcport=43782 + ${NBITCOIN_NETWORK:-regtest}=1 + port=39388 + whitelist=0.0.0.0/0 + expose: + - "43782" + - "39388" + volumes: + - "feathercoin_datadir:/data" + nbxplorer: + environment: + NBXPLORER_CHAINS: "ftc" + NBXPLORER_FTCRPCURL: http://feathercoind:43782/ + NBXPLORER_FTCNODEENDPOINT: feathercoind:39388 + links: + - feathercoind + volumes: + - "feathercoin_datadir:/root/.feathercoin" + btcpayserver: + environment: + BTCPAY_CHAINS: "ftc" + BTCPAY_FTCEXPLORERURL: http://nbxplorer:32838/ +volumes: + feathercoin_datadir: diff --git a/docker-compose-generator/src/CryptoDefinition.cs b/docker-compose-generator/src/CryptoDefinition.cs index 90104f7..d35d20c 100644 --- a/docker-compose-generator/src/CryptoDefinition.cs +++ b/docker-compose-generator/src/CryptoDefinition.cs @@ -43,6 +43,12 @@ namespace DockerGenerator Crypto = "btg", CryptoFragment = "bgold", CLightningFragment = null, + }, + new CryptoDefinition() + { + Crypto = "ftc", + CryptoFragment = "feathercoin", + CLightningFragment = null, } }; } diff --git a/feathercoin-cli.ps1 b/feathercoin-cli.ps1 new file mode 100755 index 0000000..fe10f8c --- /dev/null +++ b/feathercoin-cli.ps1 @@ -0,0 +1 @@ +docker exec -ti btcpayserver_feathercoind feathercoin-cli -datadir="/data" $args \ No newline at end of file diff --git a/feathercoin-cli.sh b/feathercoin-cli.sh new file mode 100755 index 0000000..bfc1064 --- /dev/null +++ b/feathercoin-cli.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker exec -ti btcpayserver_feathercoind feathercoin-cli -datadir="/data" "$@" \ No newline at end of file