Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 1.29 KB

README.md

File metadata and controls

46 lines (42 loc) · 1.29 KB

btcd-docker

A btcd image ready to go! An alternative to bitcoind written in Go.

Mount volumes for /root/.btcd and /root/.btcctl, it's where persistent data is kept.

If you choose to use docker-compose your .yml would look like this:

version: '2'
services:
  btcd:
  image: lcallero/btcd-docker:0.12.0-beta
    ports:
    - "8333:8333"
    - "8334:8334"
    volumes:
    - /opt/btcd/.btcd:/root/.btcd
    - /opt/btcd/.btcctl:/root/.btcct

' And don't forget to write your own btcd.conf and btcctl.conf with user and password for RPC.

  • btcd.conf configuration file
[Application Options]
rpcuser=myuser
rpcpass=SomeDecentp4ssw0rd
rpclimituser=mylimituser
rpclimitpass=Limitedp4ssw0rd
  • btcctl.conf configuration file
[Application Options]
rpcuser=myuser
rpcpass=SomeDecentp4ssw0rd

OR

[Application Options]
rpclimituser=mylimituser
rpclimitpass=Limitedp4ssw0rd