Browse Source

Merge branch 'feature/dash' of https://github.com/snogcel/btcpayserver-docker into snogcel-feature/dash

feature/auto_ssh
nicolas.dorier 6 years ago
parent
commit
d2276682ff
  1. 1
      dash-cli.ps1
  2. 3
      dash-cli.sh
  3. 33
      docker-compose-generator/docker-fragments/dash.yml
  4. 9
      docker-compose-generator/src/CryptoDefinition.cs

1
dash-cli.ps1

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

3
dash-cli.sh

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

33
docker-compose-generator/docker-fragments/dash.yml

@ -0,0 +1,33 @@
version: "3"
services:
dashd:
restart: unless-stopped
container_name: btcpayserver_dashd
image: btcpayserver/dash:0.12.3
environment:
BITCOIN_EXTRA_ARGS: |
${NBITCOIN_NETWORK:-regtest}=1
port=9999
rpcport=9998
whitelist=0.0.0.0/0
expose:
- "9998"
- "9999"
volumes:
- "dash_datadir:/data"
nbxplorer:
environment:
NBXPLORER_CHAINS: "dash"
NBXPLORER_DASHRPCURL: http://dashd:9998/
NBXPLORER_DASHNODEENDPOINT: dashd:9999
links:
- dashd
volumes:
- "dash_datadir:/root/.dashcore"
btcpayserver:
environment:
BTCPAY_CHAINS: "dash"
BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/
volumes:
dash_datadir:

9
docker-compose-generator/src/CryptoDefinition.cs

@ -71,12 +71,17 @@ namespace DockerGenerator
Crypto = "via",
CryptoFragment = "viacoin"
},
new CryptoDefinition()
new CryptoDefinition()
{
Crypto = "dash",
CryptoFragment = "dash"
},
new CryptoDefinition()
{
Crypto = "doge",
CryptoFragment = "dogecoin"
},
new CryptoDefinition()
new CryptoDefinition()
{
Crypto = "mona",
CryptoFragment = "monacoin"

Loading…
Cancel
Save