From 164e583736475e4fc15620b43dec66dbd645b132 Mon Sep 17 00:00:00 2001 From: rockstardev Date: Fri, 23 Nov 2018 08:17:21 -0600 Subject: [PATCH 1/2] Adding dogecoin docker fragment --- .../docker-fragments/dogecoin.yml | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 docker-compose-generator/docker-fragments/dogecoin.yml diff --git a/docker-compose-generator/docker-fragments/dogecoin.yml b/docker-compose-generator/docker-fragments/dogecoin.yml new file mode 100644 index 0000000..11167e3 --- /dev/null +++ b/docker-compose-generator/docker-fragments/dogecoin.yml @@ -0,0 +1,40 @@ +version: "3" + +services: + dogecoind: + restart: unless-stopped + container_name: btcpayserver_dogecoind + image: btcpayserver/dogecoin:1.10.0 + environment: + BITCOIN_EXTRA_ARGS: | + rpcuser=ceiwHEbqWI83 + rpcpassword=DwubwWsoo3 + ${NBITCOIN_NETWORK:-regtest}=1 + server=1 + rpcport=22555 + port=22556 + whitelist=0.0.0.0/0 + ports: + - "22555:22555" + expose: + - "22555" # RPC + - "22556" # P2P + volumes: + - "dogecoin_datadir:/data" + nbxplorer: + environment: + NBXPLORER_CHAINS: "doge" + NBXPLORER_VIARPCURL: http://dogecoind:22555/ + NBXPLORER_VIANODEENDPOINT: dogecoind:22556 + NBXPLORER_DOGERPCUSER: ceiwHEbqWI83 + NBXPLORER_DOGERPCPASSWORD: DwubwWsoo3 + links: + - dogecoind + volumes: + - "dogecoin_datadir:/root/.dogecoin" + btcpayserver: + environment: + BTCPAY_CHAINS: "doge" + BTCPAY_DOGEEXPLORERURL: http://nbxplorer:32838/ +volumes: + dogecoin_datadir: From ebce6c4b2416deec3bca4b0500310acea68519a7 Mon Sep 17 00:00:00 2001 From: rockstardev Date: Fri, 23 Nov 2018 08:52:05 -0600 Subject: [PATCH 2/2] Updating image location, bugfixing DOGECOIN_EXTRA_ARGS, comment --- docker-compose-generator/docker-fragments/dogecoin.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docker-compose-generator/docker-fragments/dogecoin.yml b/docker-compose-generator/docker-fragments/dogecoin.yml index 11167e3..b5777bf 100644 --- a/docker-compose-generator/docker-fragments/dogecoin.yml +++ b/docker-compose-generator/docker-fragments/dogecoin.yml @@ -4,9 +4,9 @@ services: dogecoind: restart: unless-stopped container_name: btcpayserver_dogecoind - image: btcpayserver/dogecoin:1.10.0 + image: rockstardev/dogecoin:1.10.0 environment: - BITCOIN_EXTRA_ARGS: | + DOGECOIN_EXTRA_ARGS: | rpcuser=ceiwHEbqWI83 rpcpassword=DwubwWsoo3 ${NBITCOIN_NETWORK:-regtest}=1 @@ -14,6 +14,9 @@ services: rpcport=22555 port=22556 whitelist=0.0.0.0/0 + # Reducing memory usage of dogecoind. Don't try running this container without at least 2 GB of memory + # https://www.reddit.com/r/dogecoin/comments/5wynqe/reducing_memory_usage_of_dogecoind/ + dbcache=50 ports: - "22555:22555" expose: