1
0

update dash docker fragment

This commit is contained in:
snogcel
2018-11-26 16:36:30 -07:00
parent 94b8cc4df3
commit 1bf3aa8590
3 changed files with 19 additions and 22 deletions

2
dash-cli.ps1 Normal file → Executable file
View File

@@ -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 Normal file → Executable file
View File

@@ -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" "$@"

View File

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