Browse Source

Feathercoin Support

feature/auto_ssh
Oliver Ziegler 7 years ago
parent
commit
6d5760a18f
  1. 33
      docker-compose-generator/docker-fragments/feathercoin.yml
  2. 6
      docker-compose-generator/src/CryptoDefinition.cs
  3. 1
      feathercoin-cli.ps1
  4. 3
      feathercoin-cli.sh

33
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:

6
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,
}
};
}

1
feathercoin-cli.ps1

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

3
feathercoin-cli.sh

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