1
0

Allow the user to use bitcoin-cli inside the container instead of the host's

This commit is contained in:
nicolas.dorier
2017-10-23 14:36:21 +09:00
parent 375a2e1f98
commit 6dcaf43271
4 changed files with 5 additions and 14 deletions

View File

@@ -33,13 +33,10 @@ services:
- bitcoind
bitcoind:
container_name: btcpayserver_regtest_bitcoind
image: nicolasdorier/docker-bitcoin:0.15.0.1
environment:
BITCOIN_EXTRA_ARGS: "rpcuser=ceiwHEbqWI83\nrpcpassword=DwubwWsoo3\nregtest=1\nrpcport=43782\nport=8332"
BITCOIN_RPC_USER: ceiwHEbqWI83
BITCOIN_RPC_PASSWORD: DwubwWsoo3
ports:
- 8081:43782
expose:
- "43782"
- "8332"