Skip to content

Instantly share code, notes, and snippets.

@nmarley
Last active June 14, 2019 16:07
Show Gist options
  • Save nmarley/dc6fb5e5fd95a4f0aaa4467945f9d0c8 to your computer and use it in GitHub Desktop.
Save nmarley/dc6fb5e5fd95a4f0aaa4467945f9d0c8 to your computer and use it in GitHub Desktop.
Docker example using "official" dashpay/dashd image
# network
testnet=0
listen=1
daemon=0 # leave this set to 0 for Docker
logtimestamps=1
maxconnections=256
debug=0
printtoconsole=1
# optional indices (required for Insight)
txindex=1
addressindex=1
timestampindex=1
spentindex=1
# ZeroMQ notifications (required for Insight)
zmqpubrawtx=tcp://0.0.0.0:29998
zmqpubrawtxlock=tcp://0.0.0.0:29998
zmqpubhashblock=tcp://0.0.0.0:29998
# JSONRPC
server=1
rpcuser=dashrpc
rpcpassword=password
rpcport=9998
rpcallowip=::/0
rpcallowip=0.0.0.0/0
rpcworkqueue=64
rpcthreads=16
version: '3.3'
services:
dashcore:
image: dashpay/dashd:latest
restart: always
ports:
# leave JSONRPC ports exposed for ELB health check
# (security groups protect these)
- 9998:9998
- 19998:9998
- 9999:9999
- 19999:9999
- 127.0.0.1:29998:29998
user: "0"
volumes:
- $PWD/dash.conf:/dash/.dashcore/dash.conf:ro
command: /usr/local/bin/dashd -conf=/dash/.dashcore/dash.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment