Viacoin support

This commit is contained in:
nicolas.dorier 2018-07-16 17:03:42 +09:00
parent 5340287b35
commit bc7acf4a38
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,33 @@
version: "3"
services:
viacoind:
restart: unless-stopped
container_name: btcpayserver_viacoind
image: romanornr/docker-viacoin:0.15.1
environment:
BITCOIN_EXTRA_ARGS: |
rpcport=43782
${NBITCOIN_NETWORK:-regtest}=1
port=39388
whitelist=0.0.0.0/0
expose:
- "43782"
- "39388"
volumes:
- "viacoin_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "via"
NBXPLORER_VIARPCURL: http://viacoind:43782/
NBXPLORER_VIANODEENDPOINT: viacoind:39388
links:
- viacoind
volumes:
- "viacoin_datadir:/root/.viacoin"
btcpayserver:
environment:
BTCPAY_CHAINS: "via"
BTCPAY_VIAEXPLORERURL: http://nbxplorer:32838/
volumes:
viacoin_datadir:

View File

@ -59,6 +59,11 @@ namespace DockerGenerator
{ {
Crypto = "grs", Crypto = "grs",
CryptoFragment = "groestlcoin" CryptoFragment = "groestlcoin"
},
new CryptoDefinition()
{
Crypto = "via",
CryptoFragment = "viacoin"
} }
}; };
} }

1
viacoin-cli.ps1 Executable file
View File

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

3
viacoin-cli.sh Executable file
View File

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