Browse Source

update dash docker fragment

feature/auto_ssh
snogcel 6 years ago
parent
commit
1bf3aa8590
  1. 2
      dash-cli.ps1
  2. 2
      dash-cli.sh
  3. 35
      docker-compose-generator/docker-fragments/dash.yml

2
dash-cli.ps1

@ -1 +1 @@
docker exec -ti --user dash btcpayserver_dashd dash-cli $args docker exec -ti btcpayserver_dashd dash-cli -datadir="/home/dash/.dashcore" $args

2
dash-cli.sh

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
docker exec -ti --user dash btcpayserver_dashd dash-cli "$@" docker exec -ti btcpayserver_dashd dash-cli -datadir="/home/dash/.dashcore" "$@"

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

@ -4,35 +4,32 @@ services:
dashd: dashd:
restart: unless-stopped restart: unless-stopped
container_name: btcpayserver_dashd container_name: btcpayserver_dashd
image: uphold/dash-core:0.12.2.3-alpine image: snogcel/docker-dash-core:latest
environment:
DASH_EXTRA_ARGS: |
printtoconsole=1
rpcallowip=::/0
rpcport=9998
${NBITCOIN_NETWORK:-regtest}=1
port=9999
whitelist=0.0.0.0/0
expose: expose:
- "43782" - "9998"
- "39388" - "9999"
ports:
- "9999:9999"
- "9998:9998"
- "19999:19999"
- "19998:19998"
volumes: volumes:
- "dash_datadir:/home/dash/.dashcore" - "dash_datadir:/home/dash/.dashcore"
command:
-${NBITCOIN_NETWORK:-regtest}=1
-rpcport=43782
-port=39388
-whitelist=0.0.0.0/0
-printtoconsole
nbxplorer: nbxplorer:
environment: environment:
NBXPLORER_CHAINS: "DASH" NBXPLORER_CHAINS: "dash"
NBXPLORER_DASHRPCURL: http://dashd:43782/ NBXPLORER_DASHRPCURL: http://dashd:9998/
NBXPLORER_DASHNODEENDPOINT: dashd:39388 NBXPLORER_DASHNODEENDPOINT: dashd:9999
links: links:
- dashd - dashd
volumes: volumes:
- "dash_datadir:/root/.dash" - "dash_datadir:/root/.dashcore"
btcpayserver: btcpayserver:
environment: environment:
BTCPAY_CHAINS: "DASH" BTCPAY_CHAINS: "dash"
BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/ BTCPAY_DASHEXPLORERURL: http://nbxplorer:32838/
volumes: volumes:
dash_datadir: dash_datadir:
Loading…
Cancel
Save