juanluisbaptiste / docker-bitcoin-wallet

Unofficial bitcoin core wallet GUI docker image
GNU General Public License v3.0
4 stars 8 forks source link

2 queries regarding configuration #3

Open abhyankar-amey opened 4 years ago

abhyankar-amey commented 4 years ago

Hello,

I followed the instructions in readme.md and its working fine in test env. 2 queries =

1) I want to have 2 folders i.e. 'CoinData' & 'CoinClients' dir under DataDrive dir that too on external volumes on host machine. How can I achieve that? 2) My bitcoin.conf file goes to CoinClients where bitcoin tar gets extracted and it runs on custom port with username & password.

Thanks & Regards, Amey.

juanluisbaptiste commented 4 years ago

Hi,

For 1 you need to adjust the volumes in the docker-compose.yml file and add the directories you need mapped to the correct directories inside the image.

For 2 I don't understand what you need.

abhyankar-amey commented 4 years ago

Thank @juanluisbaptiste for quick reply.

Let me explain about '2' =

juanluisbaptiste commented 4 years ago

I think you could try mounting the wallet configuration file, in the docker-compose file in volumes section something like:

- /DataDrive/CoinData/Bitcoin/bitcoin.conf:/where/bitcoinconf/file/goes:ro

Don't forget to first create the file before launching the container.

abhyankar-amey commented 4 years ago

Thanks.

How can I add RPC auth in the docker-compose? I want to interact with the bitcoin daemon over RPC from the engine. https://github.com/ruimarinho/docker-bitcoin-core suggests to add following lines = -rpcallowip=172.17.0.0/16 \ -rpcauth=

Any suggestions?

juanluisbaptiste commented 4 years ago

With this image ? you currently can't, those rpc parameters are bitcoind parameters, and currently there is no way to pass those parameters. You could look to see if it is possible to add them to bitcoin.conf file or something like that.