nicolas.dorier
7 years ago
4 changed files with 42 additions and 0 deletions
@ -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: |
@ -0,0 +1 @@ |
|||
docker exec -ti btcpayserver_viacoind viacoin-cli -datadir="/data" $args |
@ -0,0 +1,3 @@ |
|||
#!/bin/bash |
|||
|
|||
docker exec -ti btcpayserver_viacoind viacoin-cli -datadir="/data" "$@" |
Loading…
Reference in new issue